RH rpm database
I have a computer running RH 8 and the rpm database is completely messed up.
If I try to install the new up2date rpm I get the message saying the rpm is already installed. If I try removing it with the -e I get the message the rpm doesn't exist in the database. I have tried rebuilding the database: rpm --rebuilddb and rpm --initdb. But these don't seem to do anything. If I do an rpm -Uvh --force xxxx.rpm this doesn't seem to help either. The up2date rpm is not the only one I am having problems with. Is there any way to manually go in an update the database? Or completely reload the database? |
If you want to query the RPM database for a pattern, type:
Code:
rpm -qa | grep word To rebuild your RPM database, type: Code:
rpm -Rf /var/lib/rpm/__db* |
All times are GMT -5. The time now is 11:13 AM. |