[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] reinstall removed base packages





On Tue, Jun 5, 2018 at 12:39 PM arnaud gaboury <arnaud gaboury gmail com> wrote:
I removed some base packages (everything docker related) to install docker-ce.

Here is the status:

-----------------------
 # rpm-ostree status
State: idle; auto updates disabled
Deployments:
● ostree://fedora-atomic:fedora/28/x86_64/updates/atomic-host
                   Version: 28.20180604.0 (2018-06-04 12:55:05)
                BaseCommit: 7eea73af71be1a16911781f580c6ded2542a35ae2204dacba457d1e0c6c15995
              GPGSignature: Valid signature by 128CF232A9371991C8A65695E08E7E629DB62FB1
       RemovedBasePackages: cockpit-docker-169-1.fc28.x86_64, docker-2:1.13.1-56.git6c336e4.fc28.x86_64, container-selinux-2:2.61-1.git9b55129.fc28.noarch, docker-common-2:1.13.1-56.git6c336e4.fc28.x86_64
           LayeredPackages: ansible bind-utils byacc flex gcc gdisk git git-all git-subtree
                            glibc-langpack-en jq kubernetes-client libmodulemd libxcrypt-devel man-db
                            man-pages mcstrans nano nmap ntp ntpstat pam_ssh pass perl-MailTools
                            python2-dnf python3-smartcols ranger rng-tools rpmconf rsyslog
                            rxvt-unicode-256color selinux-policy-devel setools setroubleshoot-server
                            systemd-journal-remote unzip utf8proc util-linux-user vim vim-enhanced wget
                            zsh
             LocalPackages: docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch
                            docker-ce-17.03.2.ce-1.el7.centos.x86_64 sshguard-2.1.0-1.el7.lux.x86_64
---------------------

I want to remove the local packages and reinstall the base ones. From what I read here[0], this is the command to run, but it returns an error

----------------------
 # rpm-ostree override reset docker cockpit-docker container-selinux docker-common
Checking out tree 7eea73a... done
Resolving dependencies... failed
error: The following base packages would be removed: container-selinux-2:2.61-1.git9b55129.fc28.noarch, docker-2:1.13.1-56.git6c336e4.fc28.x86_64
-------------------

How can i do properly and best practice?

---------------------------------------------
EDIT: dnf remove does not work, neither rpm-ostree unisntall.

# rpm-ostree uninstall docker-ce
error: Package/capability 'docker-ce' is not currently requested
 # dnf remove docker-ce
.....
Failed to obtain the transaction lock (logged in as: root).
Error: Could not run transaction
-----------------------------------

Thank you

[0]https://dustymabe.com/2017/09/02/atomic-host-101-lab-part-4-package-layering-experimental-features/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]