I have to ask - what command did you run to break it like this? The answer will help decide the best way to repair it, if possible.
I guess asking about backups would be in bad taste? On Jan 4, 2012, at 18:43, "Jason Edgecombe" <ja...@rampaginggeek.com> wrote: > If you can take the system down, then try the following: > > 1. boot into rescue mode using the RedHat install media > 2. use the rpm command with the "--root /mnt/sysimage" option to > reinstall the packages onto the hard drive. The hard drive should be > mounted at /mnt/sysimage. > > Using the --root option to RPM also uses the RPM DB located under the > folder that was specified using --root > > Jason > > > On 01/04/2012 01:01 PM, Paul Krizak wrote: >> I would use the same process (rpm2cpio from another system) to at >> least get the rpm, yum, etc. binaries back in place. Then once those >> are working you can use rpm/yum/etc to repair the packages and get the >> RPM DB back in sync. >> >> >> Paul Krizak 7171 Southwest Pkwy MS B200.3A >> MTS Systems Engineer Austin, TX 78735 >> Advanced Micro Devices Desk: (512) 602-8775 >> Linux/Unix Systems Engineering Cell: (512) 791-0686 >> Global IT Infrastructure Fax: (512) 602-0468 >> >> On 01/04/2012 09:35 AM, Tilsley, Jerry M. wrote: >>> I believe RPM, YUM and SQLITE are all uninstalled from the system. >>> How do I get the RPM code to install? Just installed SQLite will not >>> put the RPM back will it? >>> >>> Thanks, >>> >>> Jerry Tilsley, Sr Systems Analyst >>> St. Claire Regional Medical Center >>> Morehead, Ky >>> >>> >>> -----Original Message----- >>> From: rhelv5-list-boun...@redhat.com >>> [mailto:rhelv5-list-boun...@redhat.com] On Behalf Of Paul Krizak >>> Sent: Wednesday, January 04, 2012 12:19 PM >>> To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list >>> Subject: Re: [rhelv5-list] HELP! Server Down! YUM and RPM gone. >>> >>> Sorry that's rpm2cpio... >>> >>> Paul Krizak 7171 Southwest Pkwy MS B200.3A >>> MTS Systems Engineer Austin, TX 78735 >>> Advanced Micro Devices Desk: (512) 602-8775 >>> Linux/Unix Systems Engineering Cell: (512) 791-0686 >>> Global IT Infrastructure Fax: (512) 602-0468 >>> >>> On 01/04/2012 09:13 AM, Paul Krizak wrote: >>>> Use rpm2tgz to unpack the sqlite RPM on another system, then unpack >>>> the resulting tarball on your affected system. This will drop the >>>> sqlite binaries into place, should at least get RPM working again. >>>> >>>> >>>> Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems Engineer >>>> Austin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 >>>> Linux/Unix Systems Engineering Cell: (512) 791-0686 Global IT >>>> Infrastructure Fax: (512) 602-0468 >>>> >>>> On 01/04/2012 09:05 AM, Tilsley, Jerry M. wrote: >>>>> All, >>>>> >>>>> I have been working on an issue with SQLite versions and uninstalled >>>>> SQLite. This in turn took out YUM and RPM. How can I get at least the >>>>> RPM back so I can install the rest of the stuff back? >>>>> >>>>> Thanks, >>>>> >>>>> *Jerry Tilsley, *Sr Systems Analyst** >>>>> >>>>> *St. Claire Regional Medical Center* >>>>> >>>>> *Morehead, Ky* >>>>> > > _______________________________________________ > rhelv5-list mailing list > rhelv5-list@redhat.com > https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list