LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2019, 12:09 PM   #1
ashintoms
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Rep: Reputation: 0
yum update failing


trying a yum update and its not happening.
I've tried pretty much everything i could.
Can someone tell me what to do to fix this one ?

yum list libgpg-error --noplugins --showdupli
Installed Packages
libgpg-error.i686 1.12-3.el7 @rhel-7-desktop-rpms
libgpg-error.x86_64 1.12-3.el7 @anaconda/7.6
Available Packages
libgpg-error.i686 1.12-3.el7 rhel-7-desktop-rpms
libgpg-error.x86_64 1.12-3.el7 rhel-7-desktop-rpms
[root@homeredhat thomasa]#


root@homeredhat thomasa]# yum update -y
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check

---> Package selinux-policy.noarch 0:3.13.1-229.el7_6.9 will be erased
--> Finished Dependency Resolution
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 java-1.8.0-openjdk-headless which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of java-1.8.0-openjdk-headless 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 java-1.8.0-openjdk-headless.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of java-1.8.0-openjdk-headless installed, but
yum can only see an upgrade for one of those architectures.
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 java-1.8.0-openjdk-headless 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).

Protected multilib versions: 1:java-1.8.0-openjdk-headless-1.8.0.212.b04-0.el7_6.i686 != 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-2.el7_6.x86_64



root@homeredhat thomasa]# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,283
google-chrome google-chrome 3
packages-microsoft-com-prod packages-microsoft-com-prod 338
playonlinux PlayOnLinux Official repository 53
rhel-7-desktop-rpms/7Client/x86_64 Red Hat Enterprise Linux 7 Desktop (RPMs) 19,626
rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 247
rpmfusion-nonfree-updates/x86_64 RPM Fusion for EL 7 - Nonfree - Updates 75
skype-stable skype (stable) 5
sublime-text Sublime Text - x86_64 - Stable 2
veeam Veeam Backup for GNU/Linux - x86_64 23
repolist: 33,655
 
Old 07-06-2019, 12:41 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,575

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
Code:
yum list libgpg-error --noplugins --showdupli
Installed Packages
libgpg-error.i686 1.12-3.el7 @rhel-7-desktop-rpms
libgpg-error.x86_64 1.12-3.el7 @anaconda/7.6
Available Packages
libgpg-error.i686 1.12-3.el7 rhel-7-desktop-rpms
libgpg-error.x86_64 1.12-3.el7 rhel-7-desktop-rpms
Are we 32 or 64 bit? ibgpg-error.i686 1.12-3.el7 is 32 bit package, whereas libgpg-error.x86_64 1.12-3.el7 is a 64bit package. RHEL, afaik, is either 32 or 64 bit, not multilib. I'm on slackware64, and do have a multilib system, but it's carefully packaged. 64bit libs go in /lib64 or /usr/lib64; 32bit libs go in /lib & /usr/lib.

Unless you KNOW the system is multilib, it isn't. I am presuming it is not multilib. 32 and 64 bit packages will overwrite each other, depending which you installed first. You can check by running 'file /usr/bin/gpg-error'.

If you're 32bit, uninstall the 64bit libgpg-error, and reinstall the 32bit one. Use rpm --force if needed for uininstalls.

If you're 64bit, uninstall the 32bit libgpg-error, and reinstall the 64bit one. Use rpm --force if needed for uininstalls.

Multilib systems are handy for running wine and other apps stuck in 32 bit.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] yum update failing on centos 7.2 QUADgnim Linux - Server 6 05-26-2017 01:46 PM
yum update keeps failing jpro6363 Linux - Newbie 4 05-10-2015 05:16 PM
after yum update, can't yum update yet, some error occured novelbean Linux - Newbie 5 04-03-2013 08:13 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 11:25 AM
[SOLVED] Yum failing in update unix1adm Linux - General 8 12-03-2009 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration