Bug 426975

Summary: TB4c8309c5 fastestmirror.py:97:postreposetup_hook:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Atanas Beloborodov <arrtedone>
Component: yum-utilsAssignee: Luke Macken <lmacken>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: afwalker50, appin69, artphil, boulevard.of.stars, bruce.ingalls, cal, carlosguimaraes, carlos.roquette, des.cavin, dofinfly, eric.tanguy, graymo1027, ian, iq2020, james.antill, JohnDThompson, mbridon, mcborges, narcom_baku, octo_realm, pfrields, psgraham, rml.reg, tim.lauridsen, usaywot, warrwalker, weshartman
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: http://openbyte.org/updater-bug
Whiteboard:
Fixed In Version: 1.1.10-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-15 22:53:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
application's state at bug none

Description Atanas Beloborodov 2007-12-29 06:58:02 UTC
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:

Comment 1 Nico Pellegrini 2007-12-29 12:24:56 UTC
Created attachment 290523 [details]
application's state at bug

Comment 2 Nico Pellegrini 2007-12-29 12:28:11 UTC
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.

Comment 3 Nico Pellegrini 2007-12-29 22:30:08 UTC
This bug take place after installation of yum-fastestmirror-1.1.9-1.fc8; 
removing yum-fastestmirror pirut go again.


Comment 4 Nico Pellegrini 2007-12-29 22:41:52 UTC
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.


Comment 5 Jeremy Katz 2007-12-30 04:16:51 UTC
*** Bug 427021 has been marked as a duplicate of this bug. ***

Comment 6 Jeremy Katz 2007-12-30 14:12:22 UTC
*** Bug 427023 has been marked as a duplicate of this bug. ***

Comment 7 Luke Macken 2007-12-30 17:39:01 UTC
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

Comment 8 Jeremy Katz 2007-12-31 02:43:07 UTC
*** Bug 427074 has been marked as a duplicate of this bug. ***

Comment 9 Jeremy Katz 2007-12-31 14:45:31 UTC
*** Bug 427097 has been marked as a duplicate of this bug. ***

Comment 10 Jeremy Katz 2007-12-31 23:12:57 UTC
*** Bug 427113 has been marked as a duplicate of this bug. ***

Comment 11 Jeremy Katz 2008-01-01 19:22:23 UTC
*** Bug 427163 has been marked as a duplicate of this bug. ***

Comment 12 Eric Tanguy 2008-01-02 19:07:26 UTC
Why this fix is still not available by standard update ?

Comment 13 Jeremy Katz 2008-01-03 01:07:40 UTC
*** Bug 427313 has been marked as a duplicate of this bug. ***

Comment 14 Jeremy Katz 2008-01-03 11:34:25 UTC
*** Bug 427341 has been marked as a duplicate of this bug. ***

Comment 15 Tim Lauridsen 2008-01-04 12:09:36 UTC
(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


Comment 16 Jon Stanley 2008-01-06 05:17:01 UTC
*** Bug 427604 has been marked as a duplicate of this bug. ***

Comment 17 Fedora Update System 2008-01-07 01:16:29 UTC
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'

Comment 18 Fedora Update System 2008-01-07 01:21:08 UTC
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'

Comment 19 Jeremy Katz 2008-01-08 17:09:14 UTC
*** Bug 427024 has been marked as a duplicate of this bug. ***

Comment 20 Jeremy Katz 2008-01-08 17:10:31 UTC
*** Bug 427519 has been marked as a duplicate of this bug. ***

Comment 21 Jeremy Katz 2008-01-08 17:12:47 UTC
*** Bug 427522 has been marked as a duplicate of this bug. ***

Comment 22 Jeremy Katz 2008-01-08 17:14:42 UTC
*** Bug 427753 has been marked as a duplicate of this bug. ***

Comment 23 Jeremy Katz 2008-01-08 17:14:55 UTC
*** Bug 427770 has been marked as a duplicate of this bug. ***

Comment 24 Jeremy Katz 2008-01-08 17:15:10 UTC
*** Bug 427838 has been marked as a duplicate of this bug. ***

Comment 25 Jeremy Katz 2008-01-08 17:15:21 UTC
*** Bug 427842 has been marked as a duplicate of this bug. ***

Comment 26 David Frager 2008-01-11 03:49:44 UTC
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']}



Comment 27 Luke Macken 2008-01-11 22:26:25 UTC
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.

Comment 28 David Frager 2008-01-11 22:50:25 UTC
(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

Comment 29 Chris Kapsalis 2008-01-13 14:40:53 UTC
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

Comment 30 James Antill 2008-01-14 04:01:23 UTC
*** Bug 428495 has been marked as a duplicate of this bug. ***

Comment 31 James Antill 2008-01-14 13:45:33 UTC
*** Bug 428602 has been marked as a duplicate of this bug. ***

Comment 32 James Antill 2008-01-14 13:46:52 UTC
*** Bug 428604 has been marked as a duplicate of this bug. ***

Comment 33 Jeremy Katz 2008-01-14 15:47:09 UTC
*** Bug 428128 has been marked as a duplicate of this bug. ***

Comment 34 Jeremy Katz 2008-01-14 15:52:41 UTC
*** Bug 428529 has been marked as a duplicate of this bug. ***

Comment 35 Jeremy Katz 2008-01-14 15:58:07 UTC
*** Bug 428657 has been marked as a duplicate of this bug. ***

Comment 36 Fedora Update System 2008-01-15 22:53:34 UTC
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.

Comment 37 Fedora Update System 2008-01-15 23:12:37 UTC
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.

Comment 38 Jeremy Katz 2008-01-16 13:49:54 UTC
*** Bug 428885 has been marked as a duplicate of this bug. ***

Comment 39 Jeremy Katz 2008-01-29 03:38:03 UTC
*** Bug 429908 has been marked as a duplicate of this bug. ***

Comment 40 James Antill 2008-02-18 21:14:46 UTC
*** Bug 433364 has been marked as a duplicate of this bug. ***

Comment 41 James Antill 2008-03-13 14:58:27 UTC
*** Bug 428957 has been marked as a duplicate of this bug. ***