FC1 to FC3 upgrade Yum problem

Paul Howarth paul at city-fan.org
Fri Feb 18 15:32:35 UTC 2005


Rick Lim wrote:
> Hi there,
> I have upgraded a FC1 to FC3 now I have this problem, I am trying to update
> named
> 
> Any ideas on how to fix it?
> 
> I need urgent help, I only have a couple of days to get this working
> 
> 
> 
> [root at fedorarouter ~]# yum update
> Setting up Update Process
> Setting up Repo:  base
> repomd.xml                100% |=========================| 1.1 kB    00:00
> Setting up Repo:  updates-released
> repomd.xml                100% |=========================|  951 B    00:00
> Reading repository metadata in from local files
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 8, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 68, in main
>     result, resultmsgs = base.doCommands()
>   File "/usr/share/yum-cli/cli.py", line 381, in doCommands
>     return self.updatePkgs()
>   File "/usr/share/yum-cli/cli.py", line 766, in updatePkgs
>     self.doRepoSetup()
>   File "/usr/share/yum-cli/cli.py", line 78, in doRepoSetup
>     self.doSackSetup()
>   File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 93, in
> doSackSetup
>     self.repos.populateSack()
>   File "/usr/lib/python2.3/site-packages/yum/repos.py", line 203, in
> populateSack
>     dobj = repo.cacheHandler.getPrimary(xml, csum)
>   File "/usr/lib/python2.3/site-packages/yum/mdcache.py", line 103, in
> getPrimary
>     return self._getGeneric('metadata', location, checksum)
>   File "/usr/lib/python2.3/site-packages/yum/mdcache.py", line 90, in
> _getGeneric
>     databank = self._unpickle(piklfile)
>   File "/usr/lib/python2.3/site-packages/yum/mdcache.py", line 62, in
> _unpickle
>     obj = cPickle.load(infh)
> EOFError

Which version of yum are you using?
(rpm -q yum)

If not the latest, try manually updating to it and then try again:
# rpm -Uvh 
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/yum-2.1.12-0.fc3.noarch.rpm

Paul.




More information about the fedora-list mailing list