Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Mar 30, 2012 3:52 pm 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
I'm trying to install the latest version of GCC, I get a error;

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 :/


Last edited by superfastcars on Sun Apr 08, 2012 12:47 pm, edited 2 times in total.

Top
   
 Post subject:
PostPosted: Fri Mar 30, 2012 4:22 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
What happens if you install glibc-headers?


Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 7:34 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
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

edit: I see you changed the title of the post to not say "issue".


Last edited by zunzun on Sun Apr 01, 2012 3:45 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 5:44 pm 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
vonskippy wrote:
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 wrote:
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!


Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 9:11 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
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.


Top
   
 Post subject:
PostPosted: Sun Apr 01, 2012 12:05 pm 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
Vance wrote:
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? :|


Top
   
 Post subject:
PostPosted: Sun Apr 01, 2012 10:16 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
That seems unlikely to help. Or rather, it would help in the same way that a thermonuclear explosion would help you get rid of groundhogs that are digging up your yard.

My next step would be to disable any repositories other than base and updates and see if that makes a difference.


Top
   
 Post subject:
PostPosted: Sun Apr 08, 2012 12:46 pm 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
So I did;

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=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group