Did something stupid!! help!!

Chris Kloiber ckloiber at ckloiber.com
Mon May 17 06:31:16 UTC 2004


On Mon, 2004-05-17 at 06:32, Bert Van Cleemput wrote:
> Hi,
> 
> Wel I've done somthing stpid, and a I don't know how I can solve the
> problem again.
> I had som toubles with RPM, so me and my stupid head thought, why not
> reïnstall the package. So I removed the package, but didn't thought
> about the fact that I couldn't use the RPM-command anymore. 
> Is there any way, how I can get RPM back on the machine? So I can work
> with packages again. Somebody told me to use something like rpm2tgz or
> somthing like that. 
> If there is anyone who can help me with this stupid problem of me, that
> would be great!!! 
> 
> Greetz,
> 
> Bert

Doh!

Boot into rescue mode (it has a working rpm) but do not chroot onto the
hard disk. Instead, find a copy of the rpms you removed and run:

# rpm --root /mnt/sysimage -ivh <filename.rpm>

This should put things straight, then exit rescue mode and try it out.

-- 
Chris Kloiber






More information about the fedora-list mailing list