yum can't upgrade to latest rawhide

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Thu Apr 21 13:24:07 UTC 2005


On Thu, Apr 21, 2005 at 12:07:39AM +0100, Luciano Miguel Ferreira Rocha wrote:
> 
> Hi,
> 
> I just installed FC4Test2 (on a powerbook).
> 
> Any attempt to do a full yum upgrade fails with the error message I
> present shortly.
> 
> yum upgrade yum found nothing to upgrade; yum upgrade python updated
> python correctly, but yum still fails with the same error message.
> 
> And here it is:
> 
> Transaction Summary
> =============================================================================
> Install      6 Package(s)
> Update     256 Package(s)
> Remove       0 Package(s)
> Total download size: 493 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 15, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 149, in main
>     base.doTransaction()
>   File "/usr/share/yum-cli/cli.py", line 651, in doTransaction
>     self.runTransaction(cb=cb)
>   File "__init__.py", line 333, in runTransaction
> NameError: global name 'yum' is not defined

Corrected by changing line 333 on
/usr/lib/python2.4/site-packages/yum/__init_.py to:
raise Errors.YumBaseError, errstring

The error is related to free space, but the message isn't properly
formatted (is a print of a python tuple).

-- lfr
-- 
0/0




More information about the fedora-test-list mailing list