On Sun, 09 Nov 2014 07:54:06 -0800
Brad Bell <bradbell(a)seanet.com> wrote:
I suspect there is a problem with the install of gcc-c++.
I tried to remove and reinstall gcc-c++ and got errors. When I do a
yum check
I get the following message:
1:NetworkManager-0.9.9.0-41.git20131003.fc20.x86_64 is a duplicate
with 1:NetworkManager-0.9.9.0-39.git20131003.fc20.x86_64
1:NetworkManager-glib-0.9.9.0-41.git20131003.fc20.x86_64 is a
duplicate with
1:NetworkManager-glib-0.9.9.0-39.git20131003.fc20.x86_64
audit-libs-2.3.7-1.fc20.x86_64 is a duplicate with
audit-libs-2.3.6-1.fc20.x86_64 1:autocorr-en-4.2.5.2-5.fc20.noarch is
a duplicate with 1:autocorr-en-4.2.5.2-1.fc20.noarch
blas-3.4.2-7.fc20.x86_64 is a duplicate with blas-3.4.2-3.fc20.x86_64
blas-devel-3.4.2-7.fc20.x86_64 is a duplicate with
blas-devel-3.4.2-3.fc20.x86_64
cpp-4.8.3-1.fc20.x86_64 is a duplicate with cpp-4.8.2-7.fc20.x86_64
createrepo_c-libs-0.4.1-1.fc20.x86_64 is a duplicate with
createrepo_c-libs-0.4.0-1.fc20.x86_64
...
How does one fix these type of errors ?
1. See if there's any outstanding transactions to finish:
yum-complete-transaction
2. If you can identify which transaction caused the problem (by using
yum history info) You can try 'yum redo N' where N is that transaction
number.
3. Failing that you can do 'package-cleanup --cleandupes' which will
remove the older ones of each duplicate. This should be fine if the
transaction failed at the point where it had new packages installed to
disk but had not yet removed the old ones from the db.
kevin