RPM broken

Brian Bober netdemonz at yahoo.com
Sat Apr 3 19:07:35 UTC 2004


> Date: Sat, 3 Apr 2004 18:34:59 +0100 Martin Alderson  wrote:
> Subject: RPM broken
> 
> I seem to remembering having to clear a cache or lock file, or maybe 
> even rebuilding the RPM database.
> 

On former distributions (as root), this worked, but it won't now:
rm -f /var/lib/rpm/__db*; rpm --rebuilddb

Because the __db files aren't located there...
[boberb at localhost boberb]$ slocate __db
/usr/lib/rpmdb/i386-redhat-linux/redhat/__db.002
/usr/lib/rpmdb/i386-redhat-linux/redhat/__db.003
/usr/lib/rpmdb/i386-redhat-linux/redhat/__db.001

And considering they are in a different place, its questionable whether the
same things holds true. I wouldn't mess with them.


I also suggest updating rpm the first thing you do when installing fedora 2
test2 (as root):

yum install rpm





More information about the fedora-test-list mailing list