Fedora fix Multilib version problems

Try Fast Read

Fedora fix Multilib

So here is fedora fix multilib problem. I had run yum update in terminal, when my laptop shutdown abnormally, causing the update to be interrupted. After rebooting and running the update again, i ran across this problem 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 p11-kit which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of p11-kit 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 p11-kit.otherarch … this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of p11-kit 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 p11-kit 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: p11-kit-0.18.4-1.fc19.i686 != p11-kit-0.18.3-1.fc19.x86_64

This error was due to duplicate packages, so I was unable to run update again. After bit of research I came across the following solution.
1. Open Terminal and run following command

yum distro-sync
Note: distro sync can be used to upgrade/downgrade the distribution

2. Again the update was not taking place, so I ran the following command

yum check

It gave the list of packages that caused the problem, Something like

bluez-libs-4.101-8.fc19.x86_64 is a duplicate with bluez-libs-4.101-6.fc19.x86_64
2:cheese-libs-3.8.2-4.fc19.x86_64 is a duplicate with 2:cheese-libs-3.8.2-3.fc19.x86_64
clutter-1.14.4-4.fc19.x86_64 is a duplicate with clutter-1.14.4-2.fc19.x86_64
fuse-libs-2.9.2-4.fc19.x86_64 is a duplicate with fuse-libs-2.9.2-3.fc19.x86_64
glusterfs-3.4.0-0.6.beta3.fc19.x86_64 is a duplicate with glusterfs-3.4.0-0.5.beta2.fc19.x86_64
glusterfs-api-3.4.0-0.6.beta3.fc19.x86_64 is a duplicate with glusterfs-api-3.4.0-0.5.beta2.fc19.x86_64
1:grub2-tools-2.00-23.fc19.x86_64 is a duplicate with 1:grub2-tools-2.00-22.fc19.x86_64
gvfs-1.16.3-2.fc19.x86_64 is a duplicate with gvfs-1.16.3-1.fc19.x86_64
1:java-1.7.0-openjdk- is a duplicate with 1:java-1.7.0-openjdk-
2:libcacard-1.4.2-4.fc19.x86_64 is a duplicate with 2:libcacard-1.4.2-3.fc19.x86_64
libpwquality-1.2.2-1.fc19.x86_64 is a duplicate with libpwquality-1.2.1-2.fc19.x86_64
libsss_idmap-1.10.0-12.fc19.beta2.x86_64 is a duplicate with libsss_idmap-1.10.0-11.fc19.beta2.x86_64
os-prober-1.58-3.fc19.x86_64 is a duplicate with os-prober-1.58-1.fc19.x86_64
p11-kit-0.18.4-1.fc19.x86_64 is a duplicate with p11-kit-0.18.3-1.fc19.x86_64
policycoreutils-2.1.14-46.4.fc19.x86_64 is a duplicate with policycoreutils-2.1.14-45.fc19.x86_64
poppler-0.22.1-4.fc19.x86_64 is a duplicate with poppler-0.22.1-3.fc19.x86_64
2:qemu-common-1.4.2-4.fc19.x86_64 is a duplicate with 2:qemu-common-1.4.2-3.fc19.x86_64
2:qemu-img-1.4.2-4.fc19.x86_64 is a duplicate with 2:qemu-img-1.4.2-3.fc19.x86_64
sane-backends-1.0.23-11.fc19.x86_64 is a duplicate with sane-backends-1.0.23-10.fc19.x86_64
sane-backends-libs-1.0.23-11.fc19.x86_64 is a duplicate with sane-backends-libs-1.0.23-10.fc19.x86_64
selinux-policy-3.12.1-57.fc19.noarch is a duplicate with selinux-policy-3.12.1-54.fc19.noarch
spice-glib-0.20-1.fc19.x86_64 is a duplicate with spice-glib-0.19-1.fc19.x86_64
Error: check all

3. Now remove the packages that caused the conflict.

For example consider the package:

spice-glib-0.20-1.fc19.x86_64 is a duplicate with spice-glib-0.19-1.fc19.x86_64
now you can remove the second one that is of older version
yum remove spice-glib-0.19-1.fc19.x86_64
do this for all package

4. Perform yum clean all and yum update, it should work now 🙂

Note: If anyone has better solution please share

Post navigation