SOLVED: YUM Fails With Multilib version problems found

General support questions
Post Reply
pjc123
Posts: 80
Joined: 2010/08/17 16:59:11
Contact:

SOLVED: YUM Fails With Multilib version problems found

Post by pjc123 » 2018/05/19 18:35:10

So, I tried doing a YUM update today and it will not run because of the following error; it worked fine for many months. I was able to upgrade all the other packages by doing a dnf update and bypassing YUM. How do I fix this error?:

Resolving Dependencies
--> Running transaction check
---> Package libgpg-error.x86_64 0:1.12-3.el7 will be updated
---> Package libgpg-error.x86_64 0:1.29-1.el7.centos will be an update
--> 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 libgpg-error which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libgpg-error 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 libgpg-error.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of libgpg-error 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 libgpg-error 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: libgpg-error-1.29-1.el7.centos.x86_64 != libgpg-error-1.12-3.el7.i686
Last edited by pjc123 on 2018/05/20 11:51:47, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Fails With Multilib version problems found

Post by TrevorH » 2018/05/19 21:13:04

We don't ship a libgpg-error-1.29-1.el7.centos.x86_64. Can you post all of the output from

yum list libgpg-error --noplugins --showdupli

right from the command prompt where you enter the command, all the way until the command prompt returns.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pjc123
Posts: 80
Joined: 2010/08/17 16:59:11
Contact:

Re: YUM Fails With Multilib version problems found

Post by pjc123 » 2018/05/19 21:57:28

Thanks for the reply. You are on the right track, because my KeepassXC program stopped working at the same time, and it shows up in the yum list:

$ yum list libgpg-error --noplugins --showdupli
google-chrome 3/3
Installed Packages
libgpg-error.i686 1.12-3.el7 @base
libgpg-error.x86_64 1.12-3.el7 @anaconda
Available Packages
libgpg-error.i686 1.12-3.el7 base
libgpg-error.x86_64 1.12-3.el7 base
libgpg-error.x86_64 1.13-1.el7.centos bugzy-keepassxc
libgpg-error.x86_64 1.29-1.el7.centos bugzy-keepassxc

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Fails With Multilib version problems found

Post by TrevorH » 2018/05/19 22:10:58

So it's coming from this "bugzy-keepassxc" repo that you have installed and it looks like it's been overwriting the CentOS copy for a while because there's more than one version in that list. We don't recommend any repos that overwrite/replace packages from the CentOS repos - in fact it's one of the things that gets repos moved into the "look out for this" category in the wiki article about third party repos.

You might want to look at the various packages in EPEL that look similar and see if any of those would fulfil your needs.

Code: Select all

# yum list keepass\*
Loaded plugins: priorities
694 packages excluded due to repository priority protections
Available Packages
keepass.x86_64                                             2.34-1.el7                                            epel
keepass-doc.noarch                                         2.34-1.el7                                            epel
keepassx.x86_64                                            0.4.4-1.el7                                           epel
keepassx2.x86_64                                           2.0.3-2.el7                                           epel
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pjc123
Posts: 80
Joined: 2010/08/17 16:59:11
Contact:

Re: YUM Fails With Multilib version problems found

Post by pjc123 » 2018/05/19 22:26:44

A little background. Keepassxc is a Password Management program and is a fork of Keepass and Keepassx; it is better maintained than those other programs, with bug fixes and new features. I also use it with Linux Mint, Windows 10 and Android, but no issues with any of them. Anyway, I think I can use those other programs instead, to open the password database file. I will check and see if that is true, and that it will not corrupt the database file. Not sure those other programs will have the same issue replacing the libgpg-error file though? That said, sorry for the newbie question, but what do I need to delete, add, etc. to get Centos back to its original state with the libgpg-error files, as the OS being correct is the important thing.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Fails With Multilib version problems found

Post by TrevorH » 2018/05/19 22:40:49

EPEL has a policy of not replacing packages from the base repos so anything from there should be safe... mostly. There is some movement of packages between EPEL and RHEL and back again so sometimes there are copies in EPEL that are duplicates of the ones in base as they will have just been added to RHEL (or are about to be removed from it). One example is the awscli package which was added to RHEL 7.5 but still exists in EPEL as it hasn't been removed yet.

I would install EPEL if you haven't got it already - use yum --enablerepo=extras install epel-release - and then yum install keychecker . Run keychecker and it will produce a long list of all your installed packages, grouped by the signing GPG key so you can see what comes from what repo. If they're signed (which I assume that they will be given that the package you're after is one for the security conscious) then there will be a section for that repo and the packages listed there will be the ones that you would need to either remove or downgrade using yum downgrade $package. If the packages are not signed then they will be in the "unsigned" section at the end of the report.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pjc123
Posts: 80
Joined: 2010/08/17 16:59:11
Contact:

Re: YUM Fails With Multilib version problems found

Post by pjc123 » 2018/05/20 01:08:36

Thanks for all the help. I am going to remove KeepassXC and the repo, delete all instances of libgpg-error, reinstall the Centos versions of libgpg-error, and look into the feasibility of using the other Keepass programs.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Fails With Multilib version problems found

Post by TrevorH » 2018/05/20 01:16:14

You won't be able to yum remove libgpg-error, it'll want to take systemd and yum with it and yum will refuse to let you do that. Use `yum downgrade libgpg-error` to go backwards after disabling or removing the repo and it will go back to the distro copy.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pjc123
Posts: 80
Joined: 2010/08/17 16:59:11
Contact:

Re: YUM Fails With Multilib version problems found

Post by pjc123 » 2018/05/20 01:45:25

OK, thanks.

pjc123
Posts: 80
Joined: 2010/08/17 16:59:11
Contact:

Re: YUM Fails With Multilib version problems found

Post by pjc123 » 2018/05/20 11:50:27

SOLVED: Thanks to TrevorH, YUM is working again. Also, I am up and running with KeepassXC again, because it was made to my attention that there is an AppImage version of the KeepassXC program that is a standalone program and it does not touch any operating system files.

Post Reply