---------- Original Message ----------- From: Gordon Messmer <yinyang@xxxxxxxxx> To: shrike-list@xxxxxxxxxx Sent: Wed, 30 Apr 2003 14:17:27 -0700 Subject: Re: Wrong __dbs deleted > Mike Vanecek wrote: > > Doing a rpm -ivh, rpm hung, went to do the standard > > rm of the __db lock files and then rebuilddb, however I did a > > rm /usr/lib/rpmdb/i386-redhat-linux/redhat/__db* instead of a > > That's odd... what package owns that dir? It doesn't exist on my system: > > rpm -qf /usr/lib/rpmdb/i386-redhat-linux/redhat > > Maybe verify and reinstall that package... ------- End of Original Message ------- [root@xxx rpm]# rpm -qf /usr/lib/rpmdb/i386-redhat-linux/redhat rpmdb-redhat-9-0.20030313 [root@xxx rpm]# whichcd rpmdb You appear to be running Red Hat Linux 9. I'll search for rpms for that version. Searching for rpmdb... CD-3:rpmdb-redhat-9-0.20030313.i386.rpm SOURCE-CD-3:rpmdb-redhat-9-0.20030313.src.rpm It is the entire database for the distro. Still puzzled why locks would be in that directory. Still trying to figure out why I got an error rebuilding [root@xxx rpm]# rpm --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy Tried running --initdb and a couple of more --rebuilddb. Still getting the error. Now what?