On Mon, 2003-06-30 at 20:31, Albert E. Whale, CISSP wrote: > Rick Salsa wrote: > > >Hi, > > > >I've come across something that I haven't seen before, but my RPM binary > >doesn't seem to work. If I try to install or upgrade any RPMs, it just > >sits and doesn't do anything. > > > >rpm -qa, rpm --help, and rpm --version work, but that's it. I tried rpm > >--list to see if the last rpm installed might have done something, but > >that doesn't work either. Any ideas on what might be up or how to fix > >this? Mandrake 8.2 > > > >Thanks, > >/rick > > I did this to myself one time... stupidly I'll admit (I actually did an rpm -e rpm -Uvh somerpm and yes deleted rpm) . What I did was boot to the rescue disk... then copied the rescue disks copy of rpm to the mounted home dir (for me that would be /mnt/home/james) where I also had a copy of the rpm rpm. Then I did chroot /mnt to make sure I was working/writing only on my HDD Finally I did ./rpm -ivh rpm.xxxxx.i586.rpm --force This rewrote my rpm files and I was back in business. A quick check would be to run a command like rpm -qil rpm .... or some similar command you couldn't run before. This should work and a reboot should get you going again.
James PS Please turn off you reply to when mailing to the list... thanks.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
