본문 바로가기
Linux

[트러블슈팅] Protected multilib versions error

by 도경다경 2021. 4. 15.
반응형

Protected multilib versions: error

 

아래 방법 외에도 yum 사용 시 동일 package에 여러 버전의 repository가 있을 경우도 에러 발생

> 중복되는 repository 제거

 

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-1.7.0.25-2.3.10.4.fc19.x86_64 is a duplicate with 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.3.fc19.x86_64
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
using
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

 

그래도 안될 때 강제 방법:

--setopt=protected_multilib=false

 

출처 : https://smjrifle.net/fedora-fix-multilib-version-problems/

 

반응형

댓글