LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Package Updater bugging and not updating in FEDORA 8 (https://www.linuxquestions.org/questions/linux-newbie-8/package-updater-bugging-and-not-updating-in-fedora-8-a-610385/)

fireblade_spark 01-01-2008 12:48 PM

Package Updater bugging and not updating in FEDORA 8
 
From the last several days my Package updater is not working. It shows about any new update available but whenever i try to see or apply any available updates it tries to open the package updater(Pirut) and it fails all the time giving this message:

EXCEPTION OCCURED
An unhandled exception has occurred. This is most likely a bug. Please save the crash dump and file a detailed bug report against pirut at https://bugzilla.redhat.com/bugzilla

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 0x133f098>
repos: ['livna-development', 'updates-source', 'livna-development-debuginfo', 'updates-testing', 'livna', 'updates-testing-source', 'livna-debuginfo', 'fedora', 'livna-testing', 'InstallMedia', 'development-source', 'adobe-linux-i386', 'development', 'updates-debuginfo', 'fedora-debuginfo', 'livna-development-source', 'updates-testing-debuginfo', 'updates', 'livna-source', 'fedora-source', 'development-debuginfo', 'livna-testing-debug', 'livna-testing-source']
repomirrors: {'InstallMedia': [], 'livna': ['http://rpm.livna.org/fedora/8/x86_64/', 'http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/8/x86_64/', 'http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/8/x86_64/', 'http://mirror.atrpms.net/livna/fedora/8/x86_64/', 'http://livna.cat.pdx.edu/fedora/8/x86_64/', 'ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/8/x86_64/'], 'fedora': ['http://fedora.glug-nith.org/linux/releases/8/Everything/x86_64/os', 'http://ftp.riken.jp/Linux/fedora/releases/8/Everything/x86_64/os', 'http://opensource.nchc.org.tw/fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/8/Everything/x86_64/os', 'http://ftp.cse.yzu.edu.tw/pub/Linux/Fedora/releases/8/Everything/x86_64/os', 'http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.chg.ru/pub/Linux/fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/releases/8/Everything/x86_64/os', 'http://spreader.yandex.net/fedora/linux/releases/8/Everything/x86_64/os', 'http://linux.ntcu.net/ftp/dists/fedora/releases/8/Everything/x86_64/os', 'http://fedora.candishosting.com.cn/pub/fedora/linux/releases/8/Everything/x86_64/os', 'http://ftp.ncnu.edu.tw/Linux/Fedora/linux/releases/8/Everything/x86_64/os', 'http://mirror.wbut.ac.in/pub/fedora/linux/releases/8/Everything/x86_64/os']}

and in the end it give me three options of DEBUG, SAVE TO FILE and QUIT!

when i press DEBUG,the message box as well as the package updater disappears and nothing happens!
and when i press SAVE TO FILE it just saves the whole test thing on to my hard disk in a text file format and ask me to post it!
and QUIT does what it does!

and let me tell you that it was working Perfectly before a week and my OS is also working superbly!

but i want this problem to be sorted out!

NOW PLEASE BUG ME OUT!

Lsatenstein 01-02-2008 04:42 PM

Try installing yumex and then get all the yum updates. Try from the console (with root logon) to do a yum install yum* and a yum update yum*

This would bring in fixes to pup. Then hopefully your updates will work again.

I had to do what I just recommended. I did it for Fedora 7.

Leslie

fireblade_spark 01-03-2008 01:38 AM

Thank You So So Much!

Its Updating Via Yum At Least !
Hope It Gets Fixed!


All times are GMT -5. The time now is 01:50 PM.