From: Mario Morrell on
On Sat, 2010-01-02 at 20:32 -0800, Nico Kadel-Garcia wrote:
> On Jan 2, 1:28 am, Michal Jaegermann <mic...(a)gortel.phys.ualberta.ca>
> wrote:
> > Mario Morrell <morrellmarioc...(a)qwest.net> wrote:
> >
> > > I am running Fedora 12 on an i686 machine and I am attempting to install
> > > gcc-4.4.2-20.fc12.i686 either with the Add/Remove Software program or
> > > yum so that I can compile some programs from source. I end up getting
> > > the error message:
> > > glibc=2.11-2 needed by glibc-devel-2.11-2.i686
> > > glibc=2.11-2 needed by glibc-headers-2.11-2.i686
> >
> > The only glibc requirement for gcc-4.4.2-20.fc12 is
> > glibc-devel >= 2.2.90-12 and this in turn would need _the same_ version
> > of glibc.
> >
> > > Currently I have glibc-2.11-4.i686 installed and
> >
> > Then you do not running Fedora 12, where the current release version
> > of glibc is glibc-2.11-2 but, judging from your error messages, some
> > kind of a mess where glibc and its "sub-packages" are of different
> > versions and it is hard to guess how did you get into that sorry state.
> > Probably using rpm with '--nodeps' and/or '--force'. If you do such
> > things it is up to you to extricate yourself from a self created swamp.
> > Such changes should be done in _one_ consistent transaction. Nothing
> > to do at all with gcc.
> >
> > Most likely you should
> >
> > yum downgrade glibc-2.11-2.i686
> >
> > and check results with
> >
> > rpm -qa 'glibc*'
> >
> > Once you will see the same version in answers then you can install other
> > things. 'rpm --verify -a' checks sanity of all rpm packages you
> > installed. Redirect an output to a file as it may be a long one and
> > this will take a while. See 'man rpm' for meanings of markers for
> > '--verify' (in a section called, surprise, 'VERIFY OPTIONS').
>
> Ouch. It's also possible that our here has something else going on,
> like pointers to a separate repository that is non-Fedora repository
> marked as a 'preferred' repository, or a partially failed insallation
> of glibc dangling around so he has an older and a current glibc
> package in place (which I've seen!)
>
> Running "rpm -qa | grep glibc" would be indicative.

I made sure that yum is only using a Fedora repository and running "
rpm -qa | greb glibc" gives me:
glibc-2.11-4.i686
glibc-common-2.11.4.i686

When I try to downgrade to glibc-2.11-2.i686 yum comes back and tells me
there is no glibc-2.11-2.i686 available.