list index out of range

Pierre Frenkiel <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.