(no subject)

Andrew yellowdog-general@lists.terrasoftsolutions.com
Mon Apr 19 13:37:00 2004


On Monday 19 April 2004 10:33, Joel Daynes wrote:
> yum -y install yum fails in the same way....


Have you tried:
	rpm --initdb then --rebuilddb?
	yum clean
??

If still no-go, I would re-install 'rpm' and/or 'yum' packages from CD1 ...




>
> ____________________________________
> 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
>
> _______________________________________________
> 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'