yum update --security is failing with the error message ' Package: subscription-manager-gnome-0.99.19.4-1.el6_3.x86_64 (rhel-x86_64-server-6) Requires: subscription-manager = 0.99.19.4-1.el6_3'
Environment
- Red Hat Enterprise Linux 6
Issue
yum update --securityis failing with the following error message
--> Processing Dependency: subscription-manager = 0.99.19.4-1.el6_3 for package: subscription-manager-gnome-0.99.19.4-1.el6_3.x86_64
--> Finished Dependency Resolution
Error: Package: subscription-manager-gnome-0.99.19.4-1.el6_3.x86_64 (rhel-x86_64-server-6)
Requires: subscription-manager = 0.99.19.4-1.el6_3
Removing: subscription-manager-0.99.19-1.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3)
subscription-manager = 0.99.19-1.el6
Updated By: subscription-manager-1.1.23.1-1.el6_4.x86_64 (rhel-x86_64-server-6)
subscription-manager = 1.1.23.1-1.el6_4
Available: subscription-manager-0.95.11-1.el6.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.95.11-1.el6
Available: subscription-manager-0.95.14-1.el6_1.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.95.14-1.el6_1
Available: subscription-manager-0.95.17-1.el6_1.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.95.17-1.el6_1
Available: subscription-manager-0.96.17-1.el6.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.96.17-1.el6
Available: subscription-manager-0.96.18-1.el6_2.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.96.18-1.el6_2
Available: subscription-manager-0.99.19.2-1.el6_3.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.99.19.2-1.el6_3
Available: subscription-manager-0.99.19.3-1.el6_3.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.99.19.3-1.el6_3
Available: subscription-manager-0.99.19.4-1.el6_3.x86_64 (rhel-x86_64-server-6)
subscription-manager = 0.99.19.4-1.el6_3
Available: subscription-manager-1.1.23-1.el6.x86_64 (rhel-x86_64-server-6)
subscription-manager = 1.1.23-1.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Resolution
Remove subscription-manager-gnome-0.99.19-1.el6.x86_64 as it is deprecated.
rpm -e subscription-manager-gnome-0.99.19-1.el6.x86_64 --nodeps
Then try to execute
# yum update --security
Root Cause
There was an RFE(Request for Feature Enhancement) to rename subscription-manager-gnome to subscription-manager-gui. So after subscription-manager-gnome-0.99.19-1.el6.x86_64 the package name changed to subscription-manager-gui-1.x.x. There was a security errata released for subscription-manager(http://rhn.redhat.com/errata/RHSA-2013-0788.html) after this rename. So when you execute yum update --security, yum tried to update all the subscription-manager packages to version 1.1.23.1-1.el6_4, but there isn't any updated subscription-manager-gnome package with the errata, and that caused the dependency error.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.