Alright, first off this is a RedHat 7.3 system. I was working with checkinstall and inadvertently ran a checkinstall on an rpm (longer story). So basically checkinstall seems to have removed rpm and now I can't get it working again.
First I tried copying /bin/rpm from another system, no luck there.
Next I tried the following in the rescue prompt (cd boot) to reinstall:
Quote:
rpm -ivh rpm* -r /mnt/sysimage/
|
The install was successful according to the cd's rpm. But when I try either of the following commands:
Quote:
rpm --initdb
rpm --rebuilddb
|
I get a nice "error: unrecognized db option: "db3" ignored." error. This also occurs if I try an rpm -qa or any kind of rpm command. Frankly, I'm stumped at this point. Aside from "upgrading" redhat with the same version and hoping it fixes it, I'm out of ideas.