执行yum install yumex后提示
[root@fxs etc]# yum install yumex
freshrpms | 2.8 kB 00:00
primary.sqlite.bz2 | 119 kB 00:01
http://ayo.ie.freshrpms.net/fedora/linux/9/i386/freshrpms/repodata/primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
primary.sqlite.bz2 | 119 kB 00:01
http://ayo.ie.freshrpms.net/fedora/linux/9/i386/freshrpms/repodata/primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
fedora | 2.4 kB 00:00
livna | 2.4 kB 00:00
updates | 2.6 kB 00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 241, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 116, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 307, in doCommands
self._getTs()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 98, in _getTs
self._getTsInfo()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 104, in _getTsInfo
self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 576, in
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 423, in _getSacks
self._pkgSack.excludeArchs(archlist)
File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 391, in excludeArchs
sack.excludeArchs(archlist)
File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 39, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 1021, in excludeArchs
cur = cache.cursor()
AttributeError: 'NoneType' object has no attribute 'cursor'
就是这个又折腾我一早起还是不知道怎么错了。
并且我的Yum.conf 也打不开。
出来这样一个对话框:
Couldn't display "/etc/yum.conf".
There is no application installed for this file type
有谁遇到过这样的问题没?来交流交流。
范小川 于 2010-07-19 19:51:40发表:
6# alick
哎,我也想啊。。可是我刚开始学的那个有个开发板只是对应的Fedora 9别的版本人家说没有测试过。。崩溃ing、
alick 于 2010-07-18 18:46:47发表:
推荐升级到(或者重新安装)fedora 12或13。fedora 9很久之前就已经不再提供官方支持。
zcf115 于 2010-07-18 15:52:49发表:
全是高手啊,用dpkg的路过。
范小川 于 2010-07-18 14:42:27发表:
[i=s] 本帖最后由 范小川 于 2010-7-18 15:08 编辑 [/i]
3# 东风唯笑
哦 ,我刚把下面那个打不开yum.conf的问题解决了、现在就是上边那个问题了。我觉得不是服务器终端的问题,我下载什么也不行。
东风唯笑 于 2010-07-18 14:20:32发表:
首先上面的错误是因为检查md5出错,错误应该是在服务器端发生的,和你无关.至于下面的那个问题,不知道你是用哪一条命令显示的.cat么?
以下是我的这个文件,你要是没有,新建一个就是了:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
color=never
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
范小川 于 2010-07-18 12:42:55发表:
给自己顶顶。