Chinaunix首页 | 论坛 | 博客
  • 博客访问: 812251
  • 博文数量: 770
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4950
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-09 17:49
文章分类

全部博文(770)

文章存档

2011年(1)

2008年(769)

我的朋友

分类:

2008-10-10 11:33:21

因为嫌fedora 8的yum太慢,安装了yum-fastestmirror、yum-presto、yumex三个插件,结果再使用系统自带的软件包更新工具时不能使用。但是图形化的
yum extender可以正常使用。
还请高手帮忙给看一下问题什么地方,是不是和f8本身的yum不能共用啊?
删除这三个软件包之后系统自带的软件包更新工具可以正常使用。
想知道有没有用过这个插件的,是不是和我有一样的问题。

错误提示是:
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

错误的详细说明是:
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 614, in
    main()
  File "/usr/sbin/pup", line 610, in main
    pup.run()
  File "/usr/sbin/pup", line 449, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 267, in doRefresh
    pbar = self.doRefreshRepos(destroy=False)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 331, in doRefreshRepos
    self.reposSetup(pbar, thisrepo)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 296, 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
    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:
repos: ['development', 'updates-debuginfo', 'fedora', 'development-debuginfo', 'updates-source', 'InstallMedia', 'updates-testing-debuginfo', 'updates-testing', 'updates', 'updates-testing-source', 'development-source', 'fedora-source', 'fedora-debuginfo']
repomirrors: {'InstallMedia': [], 'fedora': ['', '', 'http://linux.ntcu.net/ftp/dists/fedora/releases/8/Everything/i386/os', '', '', '', 'ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/releases/8/Everything/i386/os', 'ftp://ftp.cs.hacettepe.edu.tr/pub/mirrors/fedora/linux/releases/8/Everything/i386/os', '', '']}

[ 本帖最后由 liung 于 2008-1-11 12:39 编辑 ]      
--------------------next---------------------

阅读(380) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~