[Yum] Updates

seth vidal skvidal at phy.duke.edu
Tue Apr 22 16:43:11 UTC 2003


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





More information about the Yum mailing list