On Mon, 2003-08-04 at 21:43, Paul Fabre Jimenez wrote:

> I had the "brilliant" idea to uninstall the older glibc's components
> with the "--nodeps" parameter to disregard the dependiencies and install
> the newest but for my unpleasant surprise, several xinetd services
> stopped working, looking for .so.x shared libraries that are still
> present on the system! 

OMG, I've fallen and I can't get up!  I'm sorry... couldn't help
myself.  I can't believe you did what you did.  Just about everything
that *is* your operating system is compiled from these libraries. 
Without glibc, you're screwed.

Well, this is what rescue disks are for.  I don't think this will work
since (what would normally be) your chrooted glibc is toast.  Try this
anyways, maybe you can alternatively use an rpm --prefix option or
something.

<abbreviated version>
Grab your 7.3, boot it up, ask for rescue mode.  Mount your hard drives
chrooted via bash and reinstall your rpms.
</abbreviated version>

1) Slap your 7.3 CD into your system.  Boot it.
2) Choose "rescue mode".
3) Mount your hard drive partitions onto a temporary mount point.  If
you had /boot, /, and /home on a primary IDE drive, you might do
something like this (assuming hda5 == /, hda6 == /home, hdc == cdrom,
and you're using ext3):

        $ mkdir /mnt/rescue
        $ mkdir /mnt/rescue/home
        $ mkdir /mnt/rescue/mnt
        $ mkdir /mnt/rescue/mnt/cdrom
        $ mount -text3 /dev/hda5 /mnt/rescue
        $ mount -text3 /dev/hda6 /mnt/rescue/home
        $ mount -tiso9660 /dev/hdc /mnt/rescue/mnt/cdrom
        $ chroot /mnt/rescue /bin/bash
        $ rpm -ivh /mnt/cdrom/.../RedHat/RPMS/glibc*

I'm not sure this is exactly right, but it should get you close enough. 
I've managed to avoid deleting my required libraries for some time now,
so this hasn't been necessary.  ;-)

Worst case, rather than chrooting and installing via the rpm command,
you could use rpm2cpio to extract your glibc files and manually copy
them over to the mounted partitions.

Good Luck!

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to