RE: FC1 to FC3 upgrade Yum problem [SOLVED]

From: Rick Lim (ricklim_at_telus.net)
Date: 02/19/05

  • Next message: Ed Skladany: "AC97 audio broken in 2.6.10-1.760_FC3 kernel?"
    To: "'For users of Fedora Core releases'" <fedora-list@redhat.com>
    Date: Fri, 18 Feb 2005 15:32:24 -0800
    
    

    -----Original Message-----
    From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com]
    On Behalf Of Paul Howarth
    Sent: Friday, February 18, 2005 7:33 AM
    To: For users of Fedora Core releases
    Subject: Re: FC1 to FC3 upgrade Yum problem

    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@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.

    I solved it by following the instructions at
    http://www.charlescurley.com/yum/upgrading.html#AEN268

    3.2.2. Clean Out Old Headers

    You are about to change out your update repository. The first thing to do is
    clean out your headers and packages. This will help avoid confusion later
    on. To get absolutely everything:

    rm -r /var/cache/yum/*

    Thanks for the replys

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ed Skladany: "AC97 audio broken in 2.6.10-1.760_FC3 kernel?"

    Relevant Pages

    • Re: yum-applet-gui non-functional
      ... On Wed, 2004-09-01 at 06:48, Paul Howarth wrote: ... >> Try yum from the terminal first. ... > I have the GPG keys installed already because autorpm requires them too. ...
      (Fedora)
    • Re: Use up2date vs yum - why?
      ... Paul Howarth wrote: ... >> It is a matter of taste. ... > up2date and yum are not the same program. ...
      (Fedora)
    • Re: [Fedora] Re: rpm problem
      ... > Paul Howarth wrote: ... > initially when I do a wildcard update? ... package first, discards the i686 version because it's the same ... > I don't mirror that because I don't use yum. ...
      (Fedora)
    • Re: pacakage management
      ... > Paul Howarth wrote: ... >> Which version of Fedora? ... Better to use yum instead. ... After installing updates, it gets confused by dependencies because the ...
      (Fedora)
    • Re: Is Fedora.us FC2 repository not yum-enabled?
      ... On Wed, 2004-05-19 at 09:40, Thorsten Leemhuis wrote: ... > Headers are now found by yum in ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)