yum barfs at me
seth vidal
skvidal at phy.duke.edu
Wed Sep 29 21:29:16 UTC 2004
On Wed, 2004-09-29 at 17:27, Jonathan Corbet wrote:
> What else should an LWN editor do on a Wednesday but try to hose his
> system?
>
> I've not succeeded in doing a "yum update" for some time, due to various
> "missing dep" errors. I finally circumvented those by brute-force
> upgrading some of the x11 packages, to the point that yum would actually
> consent to trying to update my (x86-64) system. Here's what came next,
> though:
>
> Fedora/RPMS/kdebase-devel-3.3.0-5.x86_64.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
> Fedora/RPMS/kdebase-devel-3.3.0-5.x86_64.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
> Fedora/RPMS/kdebase-devel-3.3.0-5.x86_64.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
This is the mirror failover trying to find the file and not be able to.
> Traceback (most recent call last):
> File "/usr/share/yum-cli/yummain.py", line 139, in ?
> main(sys.argv[1:])
> File "/usr/share/yum-cli/yummain.py", line 122, in main
> base.doTransaction()
> File "/usr/share/yum-cli/cli.py", line 444, in doTransaction
> problems = self.downloadPkgs(downloadpkgs)
> File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 267, in downloadPkgs
> mylocal = repo.get(relative=remote, local=local, checkfunc=checkfunc)
> File "/usr/lib/python2.3/site-packages/yum/repos.py", line 360, in get
> checkfunc=checkfunc)
> File "/usr/lib/python2.3/site-packages/urlgrabber/mirror.py", line 401, in urlgrab
> return self._mirror_try(func, url, kw)
> File "/usr/lib/python2.3/site-packages/urlgrabber/mirror.py", line 384, in _mirror_try
> mirrorchoice = self._get_mirror(gr)
> File "/usr/lib/python2.3/site-packages/urlgrabber/mirror.py", line 282, in _get_mirror
> return gr.mirrors[gr._next]
> IndexError: list index out of range
This looks like a bug - but I'd like to know the version of yum.
> Is this the new yum's response to the "the repository doesn't have the
> packages the headers say it should have" problem?
This look like a 'failover ran out of mirrors and we didn't grab the
exception properly.
-sv
More information about the fedora-test-list
mailing list