Red Hat Bugzilla – Bug 426975
TB4c8309c5 fastestmirror.py:97:postreposetup_hook:IndexError: list index out of range
Last modified: 2016-09-19 22:38:20 EDT
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071213 Fedora/2.0.0.10-3.fc8 Firefox/2.0.0.10 Description of problem: When i select "View Updates" of automatic update managet display this bug. Version-Release number of selected component (if applicable): pirut-1.3.25-2.fc8 How reproducible: Always Steps to Reproduce: 1.Start Fedora, loading Desktop. 2.In right bottom corner display Yum automatic update manager 3.When select "View Updates" dispay this bug. Actual Results: Expected Results: Additional info:
Created attachment 290523 [details] application's state at bug
My version-release is pirut-1.3.28-1.fc8 This bug has been taken place after installing new packages: before bug: rpm -qa |wc -l -> 5256 after bug: rpm -qa |wc -l -> 5783 After removing (directly at system prompt : rpm -e .....) some packages, pirut go again.
This bug take place after installation of yum-fastestmirror-1.1.9-1.fc8; removing yum-fastestmirror pirut go again.
This bug take place also after installation of yum-fastestmirror-1.1.9-2.fc8, but don't take place after installation of yum-fastestmirror-1.1.8-1.fc8.
*** Bug 427021 has been marked as a duplicate of this bug. ***
*** Bug 427023 has been marked as a duplicate of this bug. ***
This issue has been fixed in upstream yum-utils for a little while now; you can test it out by downloading the latest[0] version and throwing it in /usr/lib/yum-utils. Tim, any chance of a new yum-utils update soon ? [0]: http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=blob_plain;f=plugins/fastestmirror/fastestmirror.py;hb=HEAD
*** Bug 427074 has been marked as a duplicate of this bug. ***
*** Bug 427097 has been marked as a duplicate of this bug. ***
*** Bug 427113 has been marked as a duplicate of this bug. ***
*** Bug 427163 has been marked as a duplicate of this bug. ***
Why this fix is still not available by standard update ?
*** Bug 427313 has been marked as a duplicate of this bug. ***
*** Bug 427341 has been marked as a duplicate of this bug. ***
(In reply to comment #7) > Tim, any chance of a new yum-utils update soon ? I have just made a new release, it should be available in updates-testing at next push
*** Bug 427604 has been marked as a duplicate of this bug. ***
yum-utils-1.1.10-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils'
yum-utils-1.1.10-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils'
*** Bug 427024 has been marked as a duplicate of this bug. ***
*** Bug 427519 has been marked as a duplicate of this bug. ***
*** Bug 427522 has been marked as a duplicate of this bug. ***
*** Bug 427753 has been marked as a duplicate of this bug. ***
*** Bug 427770 has been marked as a duplicate of this bug. ***
*** Bug 427838 has been marked as a duplicate of this bug. ***
*** Bug 427842 has been marked as a duplicate of this bug. ***
I applied the proposed update against my FC8 installation and I still get the same problem. I show 16 updates to be applied. Component: pirut Summary: TB4c8309c5 fastestmirror.py:97:postreposetup_hook:IndexError: list index out of range Traceback (most recent call last): File "/usr/sbin/pup", line 611, in <module> main() File "/usr/sbin/pup", line 607, in main pup.run() File "/usr/sbin/pup", line 447, in run self.doRefresh() File "/usr/sbin/pup", line 262, in doRefresh pbar = self.doRefreshRepos(destroy=False) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 339, in doRefreshRepos self.reposSetup(pbar, thisrepo) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 303, in reposSetup self.doTsSetup() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 72, in doTsSetup return self._getTs() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 85, in _getTs self._getTsInfo() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 91, in _getTsInfo self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 529, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 384, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.5/site-packages/yum/repos.py", line 214, in populateSack self.doSetup() File "/usr/lib/python2.5/site-packages/yum/repos.py", line 66, in doSetup self.ayum.plugins.run('postreposetup') File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 169, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 97, in postreposetup_hook conduit.info(2, " * %s: %s" % (str(repo), host(repo.urls[0]))) IndexError: list index out of range Local variables in innermost frame: repo: InstallMedia conduit: <yum.plugins.PostRepoSetupPluginConduit instance at 0x133e3f8> repos: ['development', 'updates-debuginfo', 'atrpms', 'fedora', 'atrpms-testing', 'updates-source', 'InstallMedia', 'updates-testing', 'development-source', 'development-debuginfo', 'updates-testing-debuginfo', 'updates', 'updates-testing-source', 'atrpms-bleeding', 'freshrpms', 'fedora-source', 'fedora-debuginfo'] repomirrors: {'InstallMedia': [], 'atrpms': ['http://dl.atrpms.net/f8-x86_64/atrpms/stable'], 'fedora': ['http://mirror.usu.edu/mirrors/fedora/linux/releases/8/Everything/x86_64/os', 'ftp://mirror.colorado.edu/pub/fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.osuosl.org/pub/fedora/linux/releases/8/Everything/x86_64/os', 'http://srl.cs.jhu.edu/YUM/fedora/releases/8/Everything/x86_64/os', 'http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirror.cc.vt.edu/pub/fedora/linux/releases/8/Everything/x86_64/os', 'ftp://ftp.uci.edu/mirrors/fedora/linux/releases/8/Everything/x86_64/os', 'ftp://thales.memphis.edu/fedora/linux/releases/8/Everything/x86_64/os', 'ftp://ftp.software.umn.edu/linux/fedora/releases/8/Everything/x86_64/os', 'http://limestone.uoregon.edu/ftp/fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.usf.edu/pub/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirror.steadfast.net/fedora/releases/8/Everything/x86_64/os', 'http://fedora.mirror.facebook.com/linux/releases/8/Everything/x86_64/os', 'http://mirrors.cat.pdx.edu/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirrors.kernel.org/fedora/releases/8/Everything/x86_64/os', 'ftp://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.linux.ncsu.edu/pub/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirror.cogentco.com/pub/linux/fedora/linux/releases/8/Everything/x86_64/os', 'http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirrors.reflected.net/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirror.stanford.edu/fedora/linux/releases/8/Everything/x86_64/os', 'http://linux.nssl.noaa.gov/fedora/linux/releases/8/Everything/x86_64/os', 'ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirror.web-ster.com/fedora/releases/8/Everything/x86_64/os', 'http://mirror.newnanutilities.org/pub/fedora/linux/releases/8/Everything/x86_64/os', 'ftp://mirror.nyi.net/fedora/linux/releases/8/Everything/x86_64/os', 'http://kdeforge.unl.edu/mirrors/fedora/linux/releases/8/Everything/x86_64/os', 'http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/releases/8/Everything/x86_64/os', 'http://fedora.secsup.org/linux/releases/8/Everything/x86_64/os', 'http://mirror.unl.edu/fedora/linux/releases/8/Everything/x86_64/os', 'http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/releases/8/Everything/x86_64/os']}
Are you sure you're running yum-fastestmirror-1.1.10-1.fc8 ? It's currently in updates-testing, but should get pushed out to stable soon.
(In reply to comment #27) > Are you sure you're running yum-fastestmirror-1.1.10-1.fc8 ? It's currently in > updates-testing, but should get pushed out to stable soon. I am sorry..I am running 1.19-2. I will wait and try again when 1.1.10-1 is available. Thanks
I just tested yum-fastestmirror-1.1.10-1.fc8. This has apparently fixed the list index out of range problem under Fedora 8. Note, that I'm using pirut-1.3.28-1.fc8 and yum-utils-1.1.9-2.fc8 Thx
*** Bug 428495 has been marked as a duplicate of this bug. ***
*** Bug 428602 has been marked as a duplicate of this bug. ***
*** Bug 428604 has been marked as a duplicate of this bug. ***
*** Bug 428128 has been marked as a duplicate of this bug. ***
*** Bug 428529 has been marked as a duplicate of this bug. ***
*** Bug 428657 has been marked as a duplicate of this bug. ***
yum-utils-1.1.10-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
yum-utils-1.1.10-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 428885 has been marked as a duplicate of this bug. ***
*** Bug 429908 has been marked as a duplicate of this bug. ***
*** Bug 433364 has been marked as a duplicate of this bug. ***
*** Bug 428957 has been marked as a duplicate of this bug. ***