Howto replace glibc.i686 by glibc.i386?

General support questions including new installations
Post Reply
abaxor
Posts: 3
Joined: 2011/09/16 11:55:35

Howto replace glibc.i686 by glibc.i386?

Post by 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

lystor
Posts: 187
Joined: 2008/09/10 15:46:12
Location: Ukraine, Donetsk

Howto replace glibc.i686 by glibc.i386?

Post by lystor » 2011/09/16 14:49:09

[quote]
abaxor wrote:
How can I replace glibc.i686 by glibc.i386?[/quote]
Hi
Download [url=http://pkgs.org/download/glibc]glibc-2.5-65.i386.rpm[/url] and replace glibc.i686 by glibc.i386 using rpm:
[code]
# 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[/code]

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

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

Post by abaxor » 2011/09/16 15:06:36

[quote]
lystor wrote:
[quote]
abaxor wrote:
How can I replace glibc.i686 by glibc.i386?[/quote]
Hi
Download [url=http://pkgs.org/download/glibc]glibc-2.5-65.i386.rpm[/url] and replace glibc.i686 by glibc.i386 using rpm:
[code]
# 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[/code][/quote]

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

Tom

lystor
Posts: 187
Joined: 2008/09/10 15:46:12
Location: Ukraine, Donetsk

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

Post by lystor » 2011/09/16 15:13:49

[quote]
abaxor wrote:
Yes, I thought this way too. But how about the "old" glibc.686? Is it still in the rpm database?
[/quote]
You can delete it (example from Fedora 15):
[code]# rpm -q glibc
glibc-2.14-5.x86_64
glibc-2.14-5.i686

# rpm -e glibc-2.14-5.i686[/code]

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by 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.

Post Reply