CentOS 6 yum failure [Fixed]
Error: Package: glibc-devel-2.12-1.47.el6.i686 (base)
Requires: glibc = 2.12-1.47.el6
Installed: glibc-2.12-1.47.el6_2.9.i686 (@updates)
glibc = 2.12-1.47.el6_2.9
Available: glibc-2.12-1.47.el6.i686 (base)
glibc = 2.12-1.47.el6
Error: Package: glibc-headers-2.12-1.47.el6.i686 (base)
Requires: glibc = 2.12-1.47.el6
Installed: glibc-2.12-1.47.el6_2.9.i686 (@updates)
glibc = 2.12-1.47.el6_2.9
Available: glibc-2.12-1.47.el6.i686 (base)
glibc = 2.12-1.47.el6
You could try using –skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Running with the skip-broken doesn't do anything, still doesnt work, and I can't statically install ossec for example :/
7 Replies
James
edit: I see you changed the title of the post to not say "issue".
@vonskippy:
What happens if you install glibc-headers? With yum install glibc-headers –skip-broken
Packages skipped because of dependency problems:
glibc-headers-2.12-1.47.el6.i686 from base
kernel-headers-2.6.32-220.el6.i686 from base
@zunzun:
At least this is an issue to discuss, not a problem to be fixed. I could help fix a problem, but don't care to discuss an issue.
James I see your sarcasim, and raise you one updated thread title. Checkmate!
@Vance:
A yum clean all might help if you have bad packages or metadata downloaded. Hard to tell the cause from the error messages you've posted. Didnt work, even if I cleaned, then ran;
yum install glibc-headers
What do I do now? Reformat the VPS?
My next step would be to disable any repositories other than base and updates and see if that makes a difference.
****rpm -qa | grep epel
yum remove epel-release-6-5.noarch
rm /etc/yum.repos.d/epel.repo****
Still did not work…
****rpm -qa | grep priorities
yum remove yum-plugin-priorities-1.1.30-10.el6.noarch****
Fixed! Hooray!
I had setup the following;
****[base]
name=CentOS-$releasever - Base
mirrorlist=
baseurl=http://mirror.centos.org/centos/$releas … $basearch/">http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority = 1****
I'm assuming the priority wasnt set right, but now when I run yum install gcc, it works!