[WBEL-users] yum troubles
Benedikt Carda
ml at two-wings.net
Tue Mar 1 04:27:55 CST 2005
Hello,
just wanted to state that I have the very same problem since a few days
on one of my machines and no idea what could have caused the faulty rpm-db.
Best Regards,
Benedikt Carda
Mickael Maddison schrieb:
>Hello whitebox-users,
>
>what would cause this?
>
>[root at loon root]# yum check-update
>rpmdb: Program version 4.2 doesn't match environment version
>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
>
>#rpm --rebuilddb
>rpmdb: Program version 4.2 doesn't match environment version
>error: db4 error(22) from dbenv->open: Invalid argument
>error: cannot open Packages index
>
>
>
More information about the Whitebox-users
mailing list