Yum upgrade from FC2 to FC3 possible?
Phil Schaffner
Philip.R.Schaffner at NASA.gov
Fri Jul 16 13:58:34 UTC 2004
On Thu, 2004-07-15 at 17:11 -0700, Tony Jones wrote:
> On Fri, Jul 16, 2004 at 12:34:05AM +0100, Paul wrote:
>
> I clearly don't understand yum :-)
>
> If I use your config file [as below], I get a 404 trying to download for the
> [base] section (regarcless of server), because my version is 1.90 not "1"
It appears that you are running the ancient FC2T1 (1.90). You would
have to replace "$releasever" with the desired number (2.90 for FC3T1)
in Paul's yum.conf; however, to upgrade to development/rawhide/test-
release I would not include anything but [development] in any case.
...
> If I comment out everything but the [development] section from your
> config file I get the same crash as before:
>
> Server: Fedora Core 1.90 - Development tree
> Finding updated packages
> Downloading needed headers
> Traceback (most recent call last):
> File "/usr/bin/yum", line 30, in ?
> yummain.main(sys.argv[1:])
> File "/usr/share/yum/yummain.py", line 253, in main
> clientStuff.download_headers(HeaderInfo, nulist)
> File "/usr/share/yum/clientStuff.py", line 919, in download_headers
> cachedbdict = returnCacheDBHeaders(nulist)
> File "/usr/share/yum/clientStuff.py", line 901, in returnCacheDBHeaders
> mi = cachedb.dbMatch()
> UnboundLocalError: local variable 'cachedb' referenced before assignment
Try "rm -rf /var/cache/yum/*" (or "mv /var/cache/yum /var/cache/
yum_old ; mkdir /var/cache/yum" if you are conservative) then try again
with only the [development] stanza in yum.conf - will need to download
all those FC3T1 headers anyway.
Phil
More information about the test
mailing list