Bug 88097 - rpm becomes useless when removing glibc
rpm becomes useless when removing glibc
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-04-05 11:19 EST by Need Real Name
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-17 10:33:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-04-05 11:19:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
when removing glibc (yes this happened to me because i wanted to be sure i had
the i686 version and not the i386), rpm being not statically linked is rendered
useless, which means you get in trouble in reinstalling the wanted package

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpm -e glibc --nodeps
2. rpm -Uvh glibc-....-i686.rpm

Actual Results:  can't load library .....so

Expected Results:  installing newer glibc

Additional info:

"easy but nasty" workaround:  from another computer, extract the library files
required and the sash shell,    then (you need to have an already mounted nfs
share), run shash, copy the files to /lib, and reinstall the needed glibc
Comment 1 Warren Togami 2003-04-05 23:47:12 EST
You should NEVER remove glibc.  If you want to install the same version of glibc
of a specific arch:
rpm -Uvh glibc*.i686.rpm --force

You can query the arch of the installed package like this.
rpm -q --qf %{ARCH} glibc

Lots of people want statically linked rpm, but that should be its own
discussion.  File a separate RFE and/or talk on shrike-list or rpm-list. 

I recommend this CLOSED NOTABUG.
Comment 2 Jeff Johnson 2003-04-17 10:33:59 EDT
/usr/lib/rpm/rpmi is statically linked like /bin/rpm used to be.
(/bin/rpm can no longer be statically linked for other reasons.)

Note You need to log in before you can comment on or make changes to this bug.