yum failure after rpm --rebuilddb

Andrew yellowdog-general@lists.terrasoftsolutions.com
Sun Apr 18 21:10:02 2004


On Sunday 18 April 2004 22:04, Joel Daynes wrote:
> 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
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'