Help. For some reason which I do not know I am no longer able to add remove software. After I have entered the root password I get the following: An unhandled exception has occurred. This is most likely a bug. Please save the crash dump and file a detailed bug report against pirut at [URL]https://bugzilla.redhat.com/bugzilla[/URL] [user@localhost ~]$ sudo yum install pirut rpmdb: Locker is not valid rpmdb: Unknown locker ID: 564e error: db4 error(22) from db->close: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 85, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 154, in getOptionsConfig disabled_plugins=opts.disableplugins) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 159, in _getConfig self._conf = config.readMainConfig(startupconf) File "/usr/lib/python2.5/site-packages/yum/config.py", line 613, in readMainConfig yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.5/site-packages/yum/config.py", line 680, in _getsysver idx = ts.dbMatch('provides', distroverpkg) TypeError: rpmdb open failed [user@localhost ~]$ sudo yum install pirut-release rpmdb: Locker is not valid rpmdb: Unknown locker ID: 5650 error: db4 error(22) from db->close: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 85, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 154, in getOptionsConfig disabled_plugins=opts.disableplugins) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 159, in _getConfig self._conf = config.readMainConfig(startupconf) File "/usr/lib/python2.5/site-packages/yum/config.py", line 613, in readMainConfig yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.5/site-packages/yum/config.py", line 680, in _getsysver idx = ts.dbMatch('provides', distroverpkg) TypeError: rpmdb open failed [user@localhost ~]$ If possible I would like to fix this without doing a full system restore. Thanks in advance Stewart