** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
coreutils-libs-8.4-47.el6.x86_64 is a duplicate with coreutils-libs-8.4-46.el6.x86_64
coreutils-libs-8.4-47.el6.x86_64 has missing requires of coreutils = ('0', '8.4', '47.el6')
kernel-firmware-2.6.32-696.23.1.el6.noarch is a duplicate with kernel-firmware-2.6.32-696.20.1.el6.noarch
kernel-firmware-2.6.32-754.11.1.el6.noarch is a duplicate with kernel-firmware-2.6.32-696.23.1.el6.noarch
I've done the usual cleanup and yum-complete-transaction --skip-broken etc but am getting nowhere. I think I need to manually delete these duplicates but am not 100% on how to do that correctly.
Yum update problem
Re: Yum update problem
Do You use CentOS 7 or CentOS 6 ?
Repo el6 belong for CentOS 6.
Repo el6 belong for CentOS 6.
Re: Yum update problem
Sorry this server is Centos 6 my mistake, I was updating a lot this morning.
Re: Yum update problem
Moved to the correct forum.
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
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
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: Yum update problem
https://wiki.centos.org/HowTos/Cleaning ... tePackages is intended for CentOS 7 which has a package-cleanup parameter that is new in 7.5.
On CentOS 6 you will need to run package-cleanup --dupes to get a list of the duplicates then manually work out which of the duplicate packages is the newest and use rpm -e --nodeps --justdb $package to remove each of the newest duplicates. Once the newer ones are gone, re-run yum update to make sure that the older duplicate is re-updated to the newer version.
If you remove the older one then you might have a package database that says the newer one is installed but the files it owns might not be up to date.
On CentOS 6 you will need to run package-cleanup --dupes to get a list of the duplicates then manually work out which of the duplicate packages is the newest and use rpm -e --nodeps --justdb $package to remove each of the newest duplicates. Once the newer ones are gone, re-run yum update to make sure that the older duplicate is re-updated to the newer version.
If you remove the older one then you might have a package database that says the newer one is installed but the files it owns might not be up to date.
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
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
Re: Yum update problem
Thanks all sorted, I only had to remove coreutils-libs-8.4-47.el6.x86_64 and update.