On Wed, 2005-07-20 at 06:39 -0400, Chris Mauritz wrote:
Has anyone seen this before? [root@shelob rpm]# yum update rpmdb: Program version 4.2 doesn't match environment version
That's not good IIRC. Might be the reason why the rest is an issue.
error: db4 error(22) from dbenv->open: 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 30, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum/yummain.py", line 163, in main (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args) File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs conf=yumconf(configfile=yumconffile) File "/usr/share/yum/config.py", line 155, in __init__ self.yumvar['releasever'] = self._getsysver() File "/usr/share/yum/config.py", line 285, in _getsysver idx = ts.dbMatch('provides', self.distroverpkg) TypeError: rpmdb open failed Trying to rebuild the rpm database results in a similar error.
Are you saying the rebuild completes, but yum still fails? Or the rebuild doesn't complete?
Any suggestions would be greatly appreciated as this is a remote system that isn't easy for me to get physical access to. 8-(