Re: 'Device busy' error when trying to Rebuild RPM Database...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 07 Nov 2003 11:18:40 -0500, Joe Nestlerode wrote:

> Previously:
> > root / >> rpm --rebuilddb error: db4 error(16) from dbenv->remove: 
> > Device or resource busy
> 
> Thanks to all who replied.  I poked around in the rpm-list archives
> where someone said this error message was a bug, and that updating rpm
> should fix it.  So I updated to the latest release I could find
> (rpm-4.2-1), but I *still* get the error.  Now, however, the db seems to
> be at least partially rebuilt. 

Prefer "rpm -vv --rebuilddb" as it will give output during rebuild.
It is normal, that the __db.* files reappear afterwards.

> I say partially because rpm -q for a lot
> of packages that I know are installed (ie, kernel) still returns
> "package not installed".

Please give a demonstration.
 
> Oh, also, someone mentioned lock files.  Are they the ones such as
> '__db.001' and should I be deleting them before rebuild attempts?

Yes, after you made sure that no rpm process (or equivalent package
utility) is still running.

-- 

Attachment: pgp00746.pgp
Description: PGP signature


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux