Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: glibc RPM disaster
Date: Sat, 20 Dec 1997 00:06:01 -0700 (MST)	[thread overview]
Message-ID: <238b7e7cba72af5f1262cb288ddcd44b.axp-list@archive.invalid> (raw)
In-Reply-To: <Chameleon.882574622.rab@BlackLodge.sta.cdc.com>

> 
> I installed glibc-2.0.5c-11.alpha.rpm from the errata directory. Now my 
> system is fubar. The installation of the RPM failed

"failed" really means what?  Such small details are important!

> and after that, the system was unusable.

If this is like it was on 4.2, and most likely it is but I am guessing,
then one of rpms messed up links in your /usr/lib/ directory.
If I remember correctly this was /usr/lib/libtk*  which was left
with a link pointing to nowhere.  This was causing an exception
in 'ldconfig' (a bug, but that's life until somebody will fix it)
leaving an empty /etc/ld.so.cache.  After such sequence of events
your system will behave very poorly indeed.

A cure for the above is to restore link sanity in /usr/lib and to rerun
ldconfig - this time without bombing out.

> When I tried to reboot, I got:

In such situation a very bad move.

> init: error in loading shared libraries

This would support my conjecture.  ldconfig runs in a startup sequence
with results as above and you are goner.

> libc.so.6.1: cannot open shared object file: No such file or directory.

Indeed; an empty /etc/ld.so.cache is consulted resulting in the above.

> What I need help with is after I boot from the install floppy and select an 
> upgrade, I can switch to a console, but how do I do the RPM commands?

You don't!  Mount your disk read/write, go to usr/lib there (not
/usr/lib!), fix links and try to reboot.  With fixed links ldconfig
will rebuild /etc/ld.so.cache and everything will be happy.

  Michal

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-12-20  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Chameleon.882574622.rab@BlackLodge.sta.cdc.com>
1997-12-20  7:06 ` Michal Jaegermann [this message]
1997-12-20  2:37 glibc RPM disaster Bob Bottomley
  -- strict thread matches above, loose matches on Subject: below --
1997-12-19 23:29 Bob Bottomley
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox