Bug 1744208
| Summary: | Upgrades of the cockpit-* packages fail in instances where the cockpit-shell package has been previously installled | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Kyle Walker <kwalker> |
| Component: | cockpit | Assignee: | Martin Pitt <mpitt> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.7 | CC: | rmullett, tbowling |
| Target Milestone: | rc | ||
| Target Release: | 7.8 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-31 20:06:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
To work around the issue, the following can be used to "swap" the files in-place:
# yum swap cockpit-shell cockpit-system
From there, the dependency issue should no longer be present.
Thanks Kyle! I'm a bit surprised that cockpit-shell is still a thing -- it hasn't existed since at least RHEL 7.5. Do we support direct upgrades from such ancient RHEL versions? Either way, it's trivial to fix this, I'll ask for an exception. @Martin, Yep, upgrades/updates from older installations are supported. It can definitely make things a bit tricky... Thanks for the quick turnaround! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1141 |
Description of problem: Per the subject, the upgrade of cockpit-* packages fail on systems where cockpit-shell has been installed prior to the renaming of the package. Version-Release number of selected component (if applicable): cockpit-*-195.1-1.el7 How reproducible: Easily Steps to Reproduce: 1. Install cockpit-shell # yum install -y cockpit-shell 2. Attempt to update cockpit-bridge, though the same is seen on a system that just issues a "yum update -y" # yum upgrade -y cockpit-bridge Actual results: # yum install -y cockpit-shell <snip> Running transaction Installing : json-glib-1.4.2-2.el7.x86_64 1/12 Installing : 1:NetworkManager-libnm-1.18.0-5.el7.x86_64 2/12 Installing : libndp-1.2-9.el7.x86_64 3/12 Installing : libnl3-3.2.28-4.el7.x86_64 4/12 Installing : mozjs17-17.0.0-20.el7.x86_64 5/12 Installing : polkit-0.112-22.el7_7.1.x86_64 6/12 Installing : polkit-pkla-compat-0.1-4.el7.x86_64 7/12 Installing : cockpit-bridge-126-1.el7.x86_64 8/12 Installing : systemd-sysv-219-67.el7_7.1.x86_64 9/12 Installing : 1:wpa_supplicant-2.6-12.el7.x86_64 10/12 Installing : 1:NetworkManager-1.18.0-5.el7.x86_64 11/12 Installing : cockpit-shell-126-1.el7.noarch 12/12 Verifying : systemd-sysv-219-67.el7_7.1.x86_64 1/12 Verifying : mozjs17-17.0.0-20.el7.x86_64 2/12 Verifying : libnl3-3.2.28-4.el7.x86_64 3/12 Verifying : 1:NetworkManager-1.18.0-5.el7.x86_64 4/12 Verifying : libndp-1.2-9.el7.x86_64 5/12 Verifying : 1:wpa_supplicant-2.6-12.el7.x86_64 6/12 Verifying : polkit-pkla-compat-0.1-4.el7.x86_64 7/12 Verifying : polkit-0.112-22.el7_7.1.x86_64 8/12 Verifying : cockpit-bridge-126-1.el7.x86_64 9/12 Verifying : 1:NetworkManager-libnm-1.18.0-5.el7.x86_64 10/12 Verifying : json-glib-1.4.2-2.el7.x86_64 11/12 Verifying : cockpit-shell-126-1.el7.noarch 12/12 Installed: cockpit-shell.noarch 0:126-1.el7 Dependency Installed: NetworkManager.x86_64 1:1.18.0-5.el7 NetworkManager-libnm.x86_64 1:1.18.0-5.el7 cockpit-bridge.x86_64 0:126-1.el7 json-glib.x86_64 0:1.4.2-2.el7 libndp.x86_64 0:1.2-9.el7 libnl3.x86_64 0:3.2.28-4.el7 mozjs17.x86_64 0:17.0.0-20.el7 polkit.x86_64 0:0.112-22.el7_7.1 polkit-pkla-compat.x86_64 0:0.1-4.el7 systemd-sysv.x86_64 0:219-67.el7_7.1 wpa_supplicant.x86_64 1:2.6-12.el7 Complete! # yum update cockpit-bridge Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package cockpit-bridge.x86_64 0:126-1.el7 will be updated --> Processing Dependency: cockpit-bridge = 126-1.el7 for package: cockpit-shell-126-1.el7.noarch ---> Package cockpit-bridge.x86_64 0:195.1-1.el7 will be an update --> Finished Dependency Resolution Error: Package: cockpit-shell-126-1.el7.noarch (@rhel-7-server-extras-rpms) Requires: cockpit-bridge = 126-1.el7 Removing: cockpit-bridge-126-1.el7.x86_64 (@rhel-7-server-extras-rpms) cockpit-bridge = 126-1.el7 Updated By: cockpit-bridge-195.1-1.el7.x86_64 (rhel-7-server-rpms) cockpit-bridge = 195.1-1.el7 Available: cockpit-bridge-0.53-3.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.53-3.el7 Available: cockpit-bridge-0.58-2.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.58-2.el7 Available: cockpit-bridge-0.63-1.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.63-1.el7 Available: cockpit-bridge-0.71-1.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.71-1.el7 Available: cockpit-bridge-0.77-3.1.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.77-3.1.el7 Available: cockpit-bridge-0.93-3.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.93-3.el7 Available: cockpit-bridge-0.96-2.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.96-2.el7 Available: cockpit-bridge-0.103-1.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.103-1.el7 Available: cockpit-bridge-0.108-1.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.108-1.el7 Available: cockpit-bridge-0.114-2.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 0.114-2.el7 Available: cockpit-bridge-118-2.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 118-2.el7 Available: cockpit-bridge-122-3.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 122-3.el7 Available: cockpit-bridge-131-3.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 131-3.el7 Available: cockpit-bridge-135-4.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 135-4.el7 Available: cockpit-bridge-138-6.el7.x86_64 (rhel-7-server-extras-rpms) cockpit-bridge = 138-6.el7 Available: cockpit-bridge-138-9.el7.x86_64 (rhel-7-server-rpms) cockpit-bridge = 138-9.el7 Available: cockpit-bridge-138-10.el7_4.x86_64 (rhel-7-server-rpms) cockpit-bridge = 138-10.el7_4 Available: cockpit-bridge-154-3.el7.x86_64 (rhel-7-server-rpms) cockpit-bridge = 154-3.el7 Available: cockpit-bridge-173-7.el7.x86_64 (rhel-7-server-rpms) cockpit-bridge = 173-7.el7 Available: cockpit-bridge-173.1-1.el7.x86_64 (rhel-7-server-rpms) cockpit-bridge = 173.1-1.el7 Available: cockpit-bridge-173.2-1.el7.x86_64 (rhel-7-server-rpms) cockpit-bridge = 173.2-1.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Expected results: # yum install -y cockpit-shell <snip> Running transaction Installing : json-glib-1.4.2-2.el7.x86_64 1/12 Installing : 1:NetworkManager-libnm-1.18.0-5.el7.x86_64 2/12 Installing : libndp-1.2-9.el7.x86_64 3/12 Installing : libnl3-3.2.28-4.el7.x86_64 4/12 Installing : mozjs17-17.0.0-20.el7.x86_64 5/12 Installing : polkit-0.112-22.el7_7.1.x86_64 6/12 Installing : polkit-pkla-compat-0.1-4.el7.x86_64 7/12 Installing : cockpit-bridge-126-1.el7.x86_64 8/12 Installing : systemd-sysv-219-67.el7_7.1.x86_64 9/12 Installing : 1:wpa_supplicant-2.6-12.el7.x86_64 10/12 Installing : 1:NetworkManager-1.18.0-5.el7.x86_64 11/12 Installing : cockpit-shell-126-1.el7.noarch 12/12 Verifying : systemd-sysv-219-67.el7_7.1.x86_64 1/12 Verifying : mozjs17-17.0.0-20.el7.x86_64 2/12 Verifying : libnl3-3.2.28-4.el7.x86_64 3/12 Verifying : 1:NetworkManager-1.18.0-5.el7.x86_64 4/12 Verifying : libndp-1.2-9.el7.x86_64 5/12 Verifying : 1:wpa_supplicant-2.6-12.el7.x86_64 6/12 Verifying : polkit-pkla-compat-0.1-4.el7.x86_64 7/12 Verifying : polkit-0.112-22.el7_7.1.x86_64 8/12 Verifying : cockpit-bridge-126-1.el7.x86_64 9/12 Verifying : 1:NetworkManager-libnm-1.18.0-5.el7.x86_64 10/12 Verifying : json-glib-1.4.2-2.el7.x86_64 11/12 Verifying : cockpit-shell-126-1.el7.noarch 12/12 Installed: cockpit-shell.noarch 0:126-1.el7 Dependency Installed: NetworkManager.x86_64 1:1.18.0-5.el7 NetworkManager-libnm.x86_64 1:1.18.0-5.el7 cockpit-bridge.x86_64 0:126-1.el7 json-glib.x86_64 0:1.4.2-2.el7 libndp.x86_64 0:1.2-9.el7 libnl3.x86_64 0:3.2.28-4.el7 mozjs17.x86_64 0:17.0.0-20.el7 polkit.x86_64 0:0.112-22.el7_7.1 polkit-pkla-compat.x86_64 0:0.1-4.el7 systemd-sysv.x86_64 0:219-67.el7_7.1 wpa_supplicant.x86_64 1:2.6-12.el7 Complete! # yum update cockpit-bridge <snip> Dependencies Resolved ============================================================================================ Package Arch Version Repository Size ============================================================================================ Installing: cockpit-system noarch 195.1-1.el7 pulp-rhel-7-server-rpms 1.6 M Updating: cockpit-bridge x86_64 195.1-1.el7 pulp-rhel-7-server-rpms 552 k Installing for dependencies: bind-export-libs x86_64 32:9.11.4-9.P2.el7 pulp-rhel-7-server-rpms 1.1 M dhclient x86_64 12:4.2.5-77.el7 pulp-rhel-7-server-rpms 285 k dhcp-common x86_64 12:4.2.5-77.el7 pulp-rhel-7-server-rpms 176 k dhcp-libs x86_64 12:4.2.5-77.el7 pulp-rhel-7-server-rpms 133 k dracut-network x86_64 033-564.el7 pulp-rhel-7-server-rpms 103 k ethtool x86_64 2:4.8-10.el7 pulp-rhel-7-server-rpms 127 k hostname x86_64 3.13-3.el7 pulp-rhel-7-server-rpms 17 k initscripts x86_64 9.49.47-1.el7 pulp-rhel-7-server-rpms 439 k iproute x86_64 4.11.0-25.el7 pulp-rhel-7-server-rpms 804 k iptables x86_64 1.4.21-33.el7 pulp-rhel-7-server-rpms 432 k iputils x86_64 20160308-10.el7 pulp-rhel-7-server-rpms 148 k kexec-tools x86_64 2.0.15-33.el7 pulp-rhel-7-server-rpms 346 k libmnl x86_64 1.0.3-7.el7 pulp-rhel-7-server-rpms 23 k libnetfilter_conntrack x86_64 1.0.6-1.el7_3 pulp-rhel-7-server-rpms 56 k libnfnetlink x86_64 1.0.1-4.el7 pulp-rhel-7-server-rpms 26 k lzo x86_64 2.06-8.el7 pulp-rhel-7-server-rpms 59 k snappy x86_64 1.1.0-3.el7 pulp-rhel-7-server-rpms 40 k sysvinit-tools x86_64 2.88-14.dsf.el7 pulp-rhel-7-server-rpms 63 k Transaction Summary ============================================================================================ Install 1 Package (+18 Dependent packages) Upgrade 1 Package Total download size: 6.5 M Is this ok [y/d/N]: Additional info: The cockpit spec subpackage definition for cockpit-system is missing an obsolete tag. Without that, the rename completed in rhbz1353771 doesn't take effect.