Red Hat Bugzilla – Bug 12491
rpm 4.0.32 lock message is wrong
Last modified: 2008-05-01 11:37:56 EDT
Running a query while a package install is running in another window yields
this lock message:
cannot get shared lock on /var/lib/rpm/Packages
failed to open /var/lib/rpm/packages.rpm: No such file or directory
dbiOpen: cannot open Packages index
The CORRECT name of this package is: Packages
and NOT packages.rpm
... is this an error message problem, or a filename issue?
This is largely a problem with aging and misleading error messages rather
than a real problem. The current algorithm, when the desired db3 open fails,
is to attempt a db1 open, which of course also fails. A more precise return
from the db3 open will permit skipping the futile db1 open attempt.
This should be fixed in rpm-4.0-0.56. Please reopen if not.