On Thu, 2003-05-08 at 09:45, R P Herrold wrote: > On 8 May 2003, seth vidal wrote: > > > Here you go folks some new daily builds for y'all to break and tell me > > why I suck :) > > > > src rpm for red hat linux 7.x: yum-1.0-20030508.src.rpm > > src rpm for red hat linux 8.0: yum-1.0-20030508_8.0.src.rpm > > > src rpm for red hat linux 9: yum-1.97-20030508.src.rpm > > Actually, of course, the constraining factor is the RPM > version and surrounding python gunk, rather than the Red Hat > version, no? A test chassis I backport on has been subjected > to lots of rpm and python variants, and although nominally > redhat-release-8.x, it is rpm-4.2.0-69, and happier with the > 'red hat linux 9' variant. yes, true - but I though those descriptions to be most helpful for people. You're an edge case and you know it ;) > ... ah well, off to abuse the YDL 3.0 box with the new > variant. ... > -bash-2.05b$ sudo rpm -Uvh > /home/herrold/redhat/RPMS/noarch/yum-1.0-20030508_8.0.noarch.rpm > Password: > Preparing... ########################################### [100%] > 1:yum ########################################### [100%] > -bash-2.05b$ sudo yum update > 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 97, in main > File "yummain.py", line 57, in parseCmdArgs > File "config.py", line 114, in __init__ > File "config.py", line 163, in _getsysver > File "clientStuff.py", line 161, in openrpmdb > NameError: global name 'RpmError' is not defined > -bash-2.05b$ rpm -q rpm > rpm-4.2-0.69 > -bash-2.05b$ lynx http://linux.duke.edu/yum/download/2.0/daily/ > -bash-2.05b$ rpmbuild --rebuild yum-1.97-20030508.src.rpm > > ... stuff then works true true. <sigh> -sv The let me rephrase: 1.97+ is for rpm >= 4.1.1 and python2.x 1.0 is for rpm <=4.0.4 and python >= 1.5 how's that? -sv