f7 : yum fails with rpmdb: Lock table is out of available locker entries

Skunk Worx skunkworx at verizon.net
Sat Jun 16 04:54:35 UTC 2007

Seems like some F7 machines that sit for awhile do this.

# yum clean all
Loading "installonlyn" plugin
rpmdb: Lock table is out of available locker entries
rpmdb: Unknown locker ID: 912
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in <module>
   File "/usr/share/yum-cli/yummain.py", line 82, in main
   File "/usr/share/yum-cli/cli.py", line 146, in getOptionsConfig
   File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 153, in 
     self._conf = config.readMainConfig(startupconf)
   File "/usr/lib/python2.5/site-packages/yum/config.py", line 601, in 
     yumvars['releasever'] = _getsysver(startupconf.installroot, 
   File "/usr/lib/python2.5/site-packages/yum/config.py", line 664, in 
     idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

More information about the fedora-list mailing list