---------- Original Message ----------- From: M A Young <m.a.young@xxxxxxxxxxxx> To: shrike-list@xxxxxxxxxx Sent: Thu, 1 May 2003 00:42:00 +0100 (BST) Subject: Re: Wrong __dbs deleted > Mike Vanecek wrote: > > > 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 > > Ignore it, the error isn't important. OK. However, I am paranoid ... I had not seen it until after the rpm system got hung. What is the error telling me and why does it occur? > > > Tried running --initdb ... > > Oh dear, you appear to have wiped out your database. You now need to > restore it from backups, or remember what packages you had installed > (look in /var/log/rpm*) and use rpm --justdb for each package to > recreate it. In some cases it is simpler to re-install. I did a rebuilddb and everything seems to be in the db. I did a rpm -q for all the packages I know I installed and they pop right up. I thought that --initd created the db and --rebuilddb rebuilt it based on the stored headers? In any event, I'd still like to know more about db4 error(16)?