[Yum] list index out of range

Pierre Frenkiel pierre.frenkiel at apc.univ-paris7.fr
Wed May 30 07:47:27 UTC 2007


Hi,
I installed Fedora Core 4 just to check the upgrade procedure from
FC4 to FC6. After install, I did:
  "yum update yum" ==> OK
   but
  "yum update" gave:
  . . . . . . . . . . .
  Install     13 Package(s)
  Update     366 Package(s)
  Remove       0 Package(s)
  Total download size: 757 M
  Downloading Packages:
  Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in ?
      yummain.main(sys.argv[1:])
    File "/usr/share/yum-cli/yummain.py", line 170, in main
      base.doTransaction()
    File "/usr/share/yum-cli/cli.py", line 653, in doTransaction
      problems = self.downloadPkgs(downloadpkgs)
    File "__init__.py", line 609, in downloadPkgs
    File "repos.py", line 624, in get
    File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 414, in urlgrab
      return self._mirror_try(func, url, kw)
    File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 392, in _mirror_try
      mirrorchoice = self._get_mirror(gr)
    File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 290, in _get_mirror
      return gr.mirrors[gr._next]
  IndexError: list index out of range

If I say "yum upgrade SOME_PACKAGE", that works.
Is it a yum bug, or a problem with the FC4 repos ?

Regards,

-- 
Pierre Frenkiel          e-mail: pierre.frenkiel at nospam.apc.univ-paris7.fr



More information about the Yum mailing list