geekylucas
2007-Sep-12 03:53 UTC
[CentOS] Accidentally removed glibc & glibc-devel :: Help
Hi, I attempted to ugprade glibc & glibc-devel and ended up removing them entirely by accident. *idiot* What are the steps needed to get glibc back onto my system. Absolutely nothing is working at the moment, rpm, yum, etc. I presume I'm going to have to boot from a rescue CD of some kind. If someone could outline how to do this, or point me to some docs I would be most grateful. (CentOS 4.3) LC.
Craig White
2007-Sep-12 04:34 UTC
[CentOS] Accidentally removed glibc & glibc-devel :: Help
On Wed, 2007-09-12 at 13:53 +1000, geekylucas wrote:> Hi, > > I attempted to ugprade glibc & glibc-devel and ended up removing them > entirely by accident. *idiot* > > What are the steps needed to get glibc back onto my system. > Absolutely nothing is working at the moment, rpm, yum, etc. I presume > I'm going to have to boot from a rescue CD of some kind. > > If someone could outline how to do this, or point me to some docs I > would be most grateful. (CentOS 4.3)---- copy them over from another system running CentOS 4.3 (isn't that a bit old now?) Craig
Garrick Staples
2007-Sep-12 05:14 UTC
[CentOS] Accidentally removed glibc & glibc-devel :: Help
On Wed, Sep 12, 2007 at 01:53:08PM +1000, geekylucas alleged:> Hi, > > I attempted to ugprade glibc & glibc-devel and ended up removing them > entirely by accident. *idiot* > > What are the steps needed to get glibc back onto my system. > Absolutely nothing is working at the moment, rpm, yum, etc. I presume > I'm going to have to boot from a rescue CD of some kind. > > If someone could outline how to do this, or point me to some docs I > would be most grateful. (CentOS 4.3)If you are doing anything other than 'yum update', then you are doing it wrong :) Just boot a centos 4.3 cd/dvd into rescue mode, mount your filesystems rw, and install the glibc package from the CD with 'rpm -r /path'. And don't forget to update your system as the current is 4.5. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070911/345d2c92/attachment.sig>
umair shakil
2007-Sep-12 05:18 UTC
[CentOS] Accidentally removed glibc & glibc-devel :: Help
Dear, Please tell me is ur operating system working or not? I mean can u able to insert the CD and install the glibc through the CD? Regards, Umair Shakil ETD On 9/12/07, geekylucas <geekylucas at gmail.com> wrote:> > Hi, > > I attempted to ugprade glibc & glibc-devel and ended up removing them > entirely by accident. *idiot* > > What are the steps needed to get glibc back onto my system. > Absolutely nothing is working at the moment, rpm, yum, etc. I presume > I'm going to have to boot from a rescue CD of some kind. > > If someone could outline how to do this, or point me to some docs I > would be most grateful. (CentOS 4.3) > > LC. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070912/7bb00d19/attachment.html>
Toby Bluhm
2007-Sep-12 12:13 UTC
[CentOS] Accidentally removed glibc & glibc-devel :: Help
geekylucas wrote:> Hi, > > I attempted to ugprade glibc & glibc-devel and ended up removing them > entirely by accident. *idiot* > > What are the steps needed to get glibc back onto my system. > Absolutely nothing is working at the moment, rpm, yum, etc. I presume > I'm going to have to boot from a rescue CD of some kind. > > If someone could outline how to do this, or point me to some docs I > would be most grateful. (CentOS 4.3) > >Copy the rpms you need to reinstall onto another rpm type system - any somewhat current rpm type distro will do. Run rpm2cpio to extract the rpm into a cpio package. Take that cpio pkg to your busted machine and cpio extract the files. Things should then work OK. You should then be able to force rpm install the real rpm. I've done this twice, a whacked rpm and glibc - always used / as the working dir on the busted machine. Worked like a charm. -- Toby Bluhm Midwest Instruments Inc. 30825 Aurora Road Suite 100 Solon Ohio 44139 440-424-2250
Michael Watters
2007-Sep-14 20:27 UTC
[CentOS] Accidentally removed glibc & glibc-devel :: Help
geekylucas wrote:> Hi, > > I attempted to ugprade glibc & glibc-devel and ended up removing them > entirely by accident. *idiot* > > What are the steps needed to get glibc back onto my system. > Absolutely nothing is working at the moment, rpm, yum, etc. I presume > I'm going to have to boot from a rescue CD of some kind. > > If someone could outline how to do this, or point me to some docs I > would be most grateful. (CentOS 4.3) > > LC. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >You should be able to boot the install CD in rescue mode and chroot to your install, just use yum or rpm to reinstall the packages then. RPM also has a chroot option so you can just set the path to wherever your drive is mounted.