Howto replace glibc.i686 by glibc.i386?

General support questions including new installations

Howto replace glibc.i686 by glibc.i386?

Postby abaxor » 2011/09/16 12:23:39

Hi

I made an update of my Centos 5.5 yesterday. In doing so glibc has been updated to glibc.i686. Just now some of my FPGA tools crash. Unfortunately there isn't a downgrade for glibc.i686. How can I replace glibc.i686 by glibc.i386?

A simple yum install glibc.i386 conflicts with the files from package glibc-2.5-65.i686

yum list glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
...
Installed Packages
glibc.i686 2.5-65 installed
Available Packages
glibc.i386 2.5-65 base


Tom
abaxor
 
Posts: 3
Joined: 2011/09/16 11:55:35

Howto replace glibc.i686 by glibc.i386?

Postby lystor » 2011/09/16 14:49:09

abaxor wrote:
How can I replace glibc.i686 by glibc.i386?

Hi
Download glibc-2.5-65.i386.rpm and replace glibc.i686 by glibc.i386 using rpm:
Code: Select all
# wget http://mirror.centos.org/centos/5/os/i386/CentOS/glibc-2.5-65.i386.rpm
# rpm -Uvh --force glibc-2.5-65.i386.rpm
lystor
 
Posts: 187
Joined: 2008/09/10 15:46:12
Location: Ukraine, Donetsk

Re: Howto replace glibc.i686 by glibc.i386?

Postby abaxor » 2011/09/16 15:06:36

lystor wrote:
abaxor wrote:
How can I replace glibc.i686 by glibc.i386?

Hi
Download glibc-2.5-65.i386.rpm and replace glibc.i686 by glibc.i386 using rpm:
Code: Select all
# wget http://mirror.centos.org/centos/5/os/i386/CentOS/glibc-2.5-65.i386.rpm
# rpm -Uvh --force glibc-2.5-65.i386.rpm


Yes, I thought this way too. But how about the "old" glibc.686? Is it still in the rpm database?

Tom
abaxor
 
Posts: 3
Joined: 2011/09/16 11:55:35

Re: Howto replace glibc.i686 by glibc.i386?

Postby lystor » 2011/09/16 15:13:49

abaxor wrote:
Yes, I thought this way too. But how about the "old" glibc.686? Is it still in the rpm database?

You can delete it (example from Fedora 15):
Code: Select all
# rpm -q glibc
glibc-2.14-5.x86_64
glibc-2.14-5.i686

# rpm -e glibc-2.14-5.i686
lystor
 
Posts: 187
Joined: 2008/09/10 15:46:12
Location: Ukraine, Donetsk

Re: Howto replace glibc.i686 by glibc.i386?

Postby TrevorH » 2011/09/16 15:18:20

But since i386 and i686 probably share file locations, is rpm smart enough to not actually remove the files too? Maybe need to add --justdb?

I'd also thought about booting the rescue CD and using rpm --root /mnt/sysimage to manipulate the installed system from there but the man page says it chroots to that so it's probably no more safe than doing the upgrade in place.
User avatar
TrevorH
Forum Moderator
 
Posts: 13661
Joined: 2009/09/24 10:40:56
Location: Brighton, UK


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 3 guests