yum update not working on Red Hat Enterprise Linux Server release 6.4 (Santiago)
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yum update not working on Red Hat Enterprise Linux Server release 6.4 (Santiago)
I am running yum update or yum update --skip-broken on RHEL6. I am getting the following error, can you provide some insight as to what I should do?
--> Finished Dependency Resolution Error: sssd conflicts with selinux-policy-3.7.19-93.el6.noarch Error: python-devel conflicts with python-2.6.6-20.el6.x86_64 Error: initscripts conflicts with lvm2-2.02.83-3.el6.x86_64 You could try using --skip-broken to work around the problem
sssd-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
sssd-client-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just pointing out that there is a problem. Eg.:
1. You have an upgrade for python-rhsm which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of python-rhsm of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude python-rhsm.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of python-rhsm installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of python-rhsm installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
[root@ ~]# yum repolist all
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
This system is receiving updates from RHN Classic or RHN Satellite.
repo id repo name status
InstallMedia Red Hat Enterprise Linux 6.1 disabled
adobe-linux-i386 Adobe Systems Incorporated enabled: 17
rhel-source Red Hat Enterprise Linux 6Server - x86_64 disabled
rhel-source-beta Red Hat Enterprise Linux 6Server Beta - x disabled
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for enabled: 10,238
rhel-x86_64-server-optional-6 RHEL Server Optional (v. 6 64-bit x86_64) enabled: 6,036
rhel-x86_64-server-supplementary-6 RHEL Server Supplementary (v. 6 64-bit x8 enabled: 399
rhn-tools-rhel-x86_64-server-6 RHN Tools for RHEL (v. 6 for 64-bit x86_6 enabled: 9
I will try the next suggestion you posted and reply. thank you for your help.
I did the following
1)
su -
yum clean all
rpm --rebuilddb
yum update --skip-broken <------!!!
2)
it looks like it is getting hung up on :
--> Processing Conflict: initscripts-9.03.38-1.el6_4.1.x86_64 conflicts lvm2 < 2.02.97-2
--> Processing Conflict: sssd-1.9.2-82.4.el6_4.x86_64 conflicts selinux-policy < 3.7.19-160
--> Processing Conflict: python-devel-2.6.6-36.el6.x86_64 conflicts python < 2.6.6-36.el6
3)
Here is the output from yum update --skip-broken
--> Finished Dependency Resolution
Packages skipped because of dependency problems:
initscripts-9.03.38-1.el6_4.1.x86_64 from rhel-x86_64-server-6
libipa_hbac-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
libipa_hbac-python-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
libsss_idmap-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
python-devel-2.6.6-36.el6.x86_64 from rhel-x86_64-server-6
sssd-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
sssd-client-1.9.2-82.4.el6_4.x86_64 from rhel-x86_64-server-6
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for python-rhsm which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of python-rhsm of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude python-rhsm.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of python-rhsm installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of python-rhsm installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
--> Processing Conflict: initscripts-9.03.38-1.el6_4.1.x86_64 conflicts lvm2 < 2.02.97-2
--> Processing Conflict: sssd-1.9.2-82.4.el6_4.x86_64 conflicts selinux-policy < 3.7.19-160
--> Processing Conflict: python-devel-2.6.6-36.el6.x86_64 conflicts python < 2.6.6-36.el6
--> Finished Dependency Resolution
Error: initscripts conflicts with lvm2-2.02.83-3.el6.x86_64
Error: python-devel conflicts with python-2.6.6-20.el6.x86_64
Error: sssd conflicts with selinux-policy-3.7.19-93.el6.noarch
You could try using --skip-broken to work around the problem
I would like to know how to handle these conflicts.
after doing what you suggested and editing /boot/grub/grub.conf(remove rhgb and quiet) and disabling selinux in /etc/sysconfig/selinux, we got the updates applied and the system booted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.