On Sun, 2005-04-03 at 09:39 -0400, Mark Weaver wrote: > Rick Lim wrote: > > I am trying to use Yum but I get - > > > > [root@fedorarouter ~]# yum update yum > > 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 > > [root@fedorarouter ~]# > > > > > > Anyone have any ideas on how to fix this?? > > > > yes... forget about yum cause its a genuine pain in the backside and not > worth your effort. Apt works much better and doesn't complain stupidly > about things it "should" know how to do without the amount of messauging > that yum takes to do the simplest things. ---- that's an opinion, and without attempting to assess the worthiness of that opinion, it doesn't do anything to answer the OP's question. There has been a problem reported with the latest yum and using it with a proxy - if that is your issue, see... <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150937> if that is not the problem, try executing 'yum clean' first Craig