rpm db cleanup/repair & up2date

Ben Stringer ben at burbong.com
Tue Jan 27 03:20:39 UTC 2004


On Tue, 2004-01-27 at 14:11, Ferindo Middleton Jr wrote:
> I believe my rpm db is corrupted. I ran into this problem with RH Linux 9 before and ran a command to repair the database (I forgot what that command-line string was). When I try installing new RPM's I get these error messages and the installation scripts quit, failing to complete installation of the RPM package, without giving any explanation why it quit. 
> 
> When I run the redhat network gui to try to update packages, I keep getting this weird data that the packages it find that needs updating - are 0 kb big... seems weird, and whenever I choose to download them anyway.... the downloads fail, complaining about bad headers. I guess this might have something to do with my corrupted rpm databse as mentioned above. How to fix?
> 

rpm --rebuilddb

I have in the past also had to remove files of the form __db* in
/var/lib/rpm to get around db corruption problems. Back up before hand
:)

Cheers, Ben
> 





More information about the fedora-list mailing list