Re: problems using Yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
Mark
-----------------------------------------------------------
Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2, 10.0 & RH Fedora Core 3


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux