n2ize
12-04-2014, 05:05 PM
Hello. I need the help of someone who is well versed in understanding Linux and the YUM package manager. Maybe someone can help me out on this. I was in the middle of doing a routine update via yum on a Fedora 20 (64 bit) system. I was using the standard update notifier on the panel which has always worked problem free. For some crazy and unknown reason the system shut down on me during the update. Now when I try to complete the update transaction it fails with errors telling me there are duplicate packages. For example, trying to update libuuid gives me...
[root@galois ~]# yum update libuuid
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package libuuid.i686 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: util-linux-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package libuuid.x86_64 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package libuuid.i686 0:2.24.2-2.fc20 will be an update
---> Package libuuid.x86_64 0:2.24.2-2.fc20 will be an update
--> Running transaction check
---> Package libuuid.i686 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package libuuid.x86_64 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package util-linux.x86_64 0:2.24.2-1.fc20 will be updated
---> Package util-linux.x86_64 0:2.24.2-2.fc20 will be an update
--> Finished Dependency Resolution
Error: Package: libmount-2.24.2-1.fc20.x86_64 (installed)
Requires: libuuid = 2.24.2-1.fc20
Removing: libuuid-2.24.2-1.fc20.i686 (installed)
libuuid = 2.24.2-1.fc20
Updated By: libuuid-2.24.2-2.fc20.i686 (updates)
libuuid = 2.24.2-2.fc20
Available: libuuid-2.24-2.fc20.i686 (fedora)
libuuid = 2.24-2.fc20
Error: Package: libblkid-2.24.2-1.fc20.x86_64 (installed)
Requires: libuuid = 2.24.2-1.fc20
Removing: libuuid-2.24.2-1.fc20.i686 (installed)
libuuid = 2.24.2-1.fc20
Updated By: libuuid-2.24.2-2.fc20.i686 (updates)
libuuid = 2.24.2-2.fc20
Available: libuuid-2.24-2.fc20.i686 (fedora)
libuuid = 2.24-2.fc20
You could try using --skip-broken to work around the problem
** Found 17 pre-existing rpmdb problem(s), 'yum check' output follows:
1:autocorr-en-4.2.7.2-11.fc20.noarch is a duplicate with 1:autocorr-en-4.2.7.2-9.fc20.noarch
libblkid-2.24.2-2.fc20.x86_64 is a duplicate with libblkid-2.24.2-1.fc20.x86_64
libmount-2.24.2-2.fc20.x86_64 is a duplicate with libmount-2.24.2-1.fc20.x86_64
2:libnm-qt-0.9.8.3-1.fc20.x86_64 is a duplicate with 2:libnm-qt-0.9.8.2-5.fc20.x86_64
1:libreoffice-core-4.2.7.2-11.fc20.x86_64 is a duplicate with 1:libreoffice-core-4.2.7.2-9.fc20.x86_64
1:libreoffice-opensymbol-fonts-4.2.7.2-11.fc20.noarch is a duplicate with 1:libreoffice-opensymbol-fonts-4.2.7.2-9.fc20.noarch
1:libreoffice-ure-4.2.7.2-11.fc20.x86_64 is a duplicate with 1:libreoffice-ure-4.2.7.2-9.fc20.x86_64
libuuid-2.24.2-2.fc20.x86_64 is a duplicate with libuuid-2.24.2-1.fc20.x86_64
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavcodec.so.54()(64bit)
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavcodec.so.54(LIBAVCODEC_54)(64bit)
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavformat.so.54()(64bit)
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavformat.so.54(LIBAVFORMAT_54)(64bit)
php-cli-5.5.19-3.fc20.x86_64 is a duplicate with php-cli-5.5.18-1.fc20.x86_64
php-common-5.5.19-3.fc20.x86_64 is a duplicate with php-common-5.5.18-1.fc20.x86_64
php-pdo-5.5.19-3.fc20.x86_64 is a duplicate with php-pdo-5.5.18-1.fc20.x86_64
selinux-policy-3.12.1-195.fc20.noarch is a duplicate with selinux-policy-3.12.1-193.fc20.noarch
wireshark-1.10.11-1.fc20.x86_64 is a duplicate with wireshark-1.10.10-1.fc20.x86_64
I am trying to fix this so "yum update" works again. I have already tried running "$ yum-complete-transaction" but it won't fix the problem. Searching around online has so far given me partial half-assed answers ranging from manually fixing the problem. Not sure how to go about fixing this. I tried running "$ package-cleanup --dupes" and it gives me a listing of all the duplicate packages so its definitely a multipackage issue. But where do I go from there ? Do I manually remove each of the older packages one by one ? Can I run "$ package-cleanup --cleandupes" to remove all the duplicates ? I was going to try this but I read that this can sometimes cause more problems.
In any even, short of reinstalling the entire system, what is the best way to fix this. Any helpful ideas, comments ,,etc. are appreciated.
[root@galois ~]# yum update libuuid
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package libuuid.i686 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: util-linux-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package libuuid.x86_64 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package libuuid.i686 0:2.24.2-2.fc20 will be an update
---> Package libuuid.x86_64 0:2.24.2-2.fc20 will be an update
--> Running transaction check
---> Package libuuid.i686 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package libuuid.x86_64 0:2.24.2-1.fc20 will be updated
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libmount-2.24.2-1.fc20.x86_64
--> Processing Dependency: libuuid = 2.24.2-1.fc20 for package: libblkid-2.24.2-1.fc20.x86_64
---> Package util-linux.x86_64 0:2.24.2-1.fc20 will be updated
---> Package util-linux.x86_64 0:2.24.2-2.fc20 will be an update
--> Finished Dependency Resolution
Error: Package: libmount-2.24.2-1.fc20.x86_64 (installed)
Requires: libuuid = 2.24.2-1.fc20
Removing: libuuid-2.24.2-1.fc20.i686 (installed)
libuuid = 2.24.2-1.fc20
Updated By: libuuid-2.24.2-2.fc20.i686 (updates)
libuuid = 2.24.2-2.fc20
Available: libuuid-2.24-2.fc20.i686 (fedora)
libuuid = 2.24-2.fc20
Error: Package: libblkid-2.24.2-1.fc20.x86_64 (installed)
Requires: libuuid = 2.24.2-1.fc20
Removing: libuuid-2.24.2-1.fc20.i686 (installed)
libuuid = 2.24.2-1.fc20
Updated By: libuuid-2.24.2-2.fc20.i686 (updates)
libuuid = 2.24.2-2.fc20
Available: libuuid-2.24-2.fc20.i686 (fedora)
libuuid = 2.24-2.fc20
You could try using --skip-broken to work around the problem
** Found 17 pre-existing rpmdb problem(s), 'yum check' output follows:
1:autocorr-en-4.2.7.2-11.fc20.noarch is a duplicate with 1:autocorr-en-4.2.7.2-9.fc20.noarch
libblkid-2.24.2-2.fc20.x86_64 is a duplicate with libblkid-2.24.2-1.fc20.x86_64
libmount-2.24.2-2.fc20.x86_64 is a duplicate with libmount-2.24.2-1.fc20.x86_64
2:libnm-qt-0.9.8.3-1.fc20.x86_64 is a duplicate with 2:libnm-qt-0.9.8.2-5.fc20.x86_64
1:libreoffice-core-4.2.7.2-11.fc20.x86_64 is a duplicate with 1:libreoffice-core-4.2.7.2-9.fc20.x86_64
1:libreoffice-opensymbol-fonts-4.2.7.2-11.fc20.noarch is a duplicate with 1:libreoffice-opensymbol-fonts-4.2.7.2-9.fc20.noarch
1:libreoffice-ure-4.2.7.2-11.fc20.x86_64 is a duplicate with 1:libreoffice-ure-4.2.7.2-9.fc20.x86_64
libuuid-2.24.2-2.fc20.x86_64 is a duplicate with libuuid-2.24.2-1.fc20.x86_64
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavcodec.so.54()(64bit)
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavcodec.so.54(LIBAVCODEC_54)(64bit)
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavformat.so.54()(64bit)
motion-3.3.0-trunkREV557.11.fc19.x86_64 has missing requires of libavformat.so.54(LIBAVFORMAT_54)(64bit)
php-cli-5.5.19-3.fc20.x86_64 is a duplicate with php-cli-5.5.18-1.fc20.x86_64
php-common-5.5.19-3.fc20.x86_64 is a duplicate with php-common-5.5.18-1.fc20.x86_64
php-pdo-5.5.19-3.fc20.x86_64 is a duplicate with php-pdo-5.5.18-1.fc20.x86_64
selinux-policy-3.12.1-195.fc20.noarch is a duplicate with selinux-policy-3.12.1-193.fc20.noarch
wireshark-1.10.11-1.fc20.x86_64 is a duplicate with wireshark-1.10.10-1.fc20.x86_64
I am trying to fix this so "yum update" works again. I have already tried running "$ yum-complete-transaction" but it won't fix the problem. Searching around online has so far given me partial half-assed answers ranging from manually fixing the problem. Not sure how to go about fixing this. I tried running "$ package-cleanup --dupes" and it gives me a listing of all the duplicate packages so its definitely a multipackage issue. But where do I go from there ? Do I manually remove each of the older packages one by one ? Can I run "$ package-cleanup --cleandupes" to remove all the duplicates ? I was going to try this but I read that this can sometimes cause more problems.
In any even, short of reinstalling the entire system, what is the best way to fix this. Any helpful ideas, comments ,,etc. are appreciated.