(no subject)

Joel Daynes yellowdog-general@lists.terrasoftsolutions.com
Mon Apr 19 08:33:01 2004


yum -y install yum fails in the same way....
____________________________________
Joel Daynes
Web Developer
Mercury MediaWorks Digital Solutions
http://www.mercurymediaworks.com
jdaynes@mmwds.com

> Hello-
> 	Recently I rebuilt the rpm database using rpm --rebuilddb, and ever
> since, when I try to do anything with yum, I get errors like this:
>
> [root@edge root]# yum install php
> Gathering package information from servers
> Getting headers from: Yellow Dog Linux 3.0 base
> Getting headers from: Yellow Dog Linux 3.0 updates
> rpmdb: /var/lib/rpm/Packages: unsupported hash version: 8
> error: cannot open Packages index using db3 - Invalid argument (22)
> Traceback (most recent call last):
>    File "/usr/bin/yum", line 44, in ?
>      yummain.main(sys.argv[1:])
>    File "yummain.py", line 145, in main
>    File "clientStuff.py", line 146, in rpmdbNevralLoad
>    File "clientStuff.py", line 139, in openrpmdb
> NameError: global name 'RpmError' is not defined
>
> Any thoughts on how to get yum back in working order?
>

I solved a similar issue with  'yum -y install yum'

> Thanks-
> Joel
> ____________________________________
> Joel Daynes
> Web Developer
> Mercury MediaWorks Digital Solutions
> http://www.mercurymediaworks.com
> jdaynes@mmwds.com