[Yum] Updates
Troy Dawson
dawson at fnal.gov
Tue Apr 22 16:48:02 UTC 2003
Yep, that works.
I was actually trying to get a make a patch for this, see if I could beat ya.
I was able to find the problem, it's just that everything I've done has made
things worse. I guess my python skills are a bit ... um ... non-existant,
other than reading the code.
Troy
seth vidal wrote:
> On Tue, 2003-04-22 at 12:22, Troy Dawson wrote:
>
>>Hi Seth,
>>I haven't tried out the rpm database corruption fix, but I have tried out the
>>grouplist option. It almost works :)
>>
>>yum grouplist
>> works
>>yum grouplist hidden
>> works
>>yum grouplist [group1]
>> traceback
>>-------
>># yum grouplist ODS
>>Gathering package information from servers
>>Getting headers from: Fermi Linux 90rolling main
>>Getting headers from: Fermi Linux 90rolling updates
>>Getting headers from: yum update
>>Finding updated packages
>>Downloading needed headers
>>Getting groups from servers
>>Traceback (most recent call last):
>> File "/usr/bin/yum", line 45, in ?
>> yummain.main(sys.argv[1:])
>> File "yummain.py", line 228, in main
>> File "clientStuff.py", line 778, in take_action
>> File "pkgaction.py", line 320, in listgroups
>>UnboundLocalError: local variable 'groups' referenced before assignment
>>#
>>-------
>>I tried it with a an original RedHat group, one of our Fermi groups, and even
>>a fake group that I know wasn't in there. They all gave the same traceback.
>>
>>This is on RedHat 9, with yum 1.97
>>
>
>
> Grumble
>
> try this in the short run:
>
> yum grouplist hidden [group]
>
> it will work.
>
> I screwed up an if statement.
> patch will be posted here shortly.
>
> -sv
>
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
--
__________________________________________________
Troy Dawson dawson at fnal.gov (630)840-6468
Fermilab ComputingDivision/OSS CSI Group
__________________________________________________
More information about the Yum
mailing list