- 论坛徽章:
- 0
|
原来用的是FC5,刚开始安装的时候(完全安装)可以正常使用图形管理工具(如system-config-network等一系列system-config*),但过一段时间就运行就出错,后来装了FC6,也出现同样的情况,不知道其他人碰到这种情况没有。出错信息如下所示,
[root@localhost trunk]# system-config-network
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/sbin/system-config-network-gui", line 67, in <lambda>
PROGNAME, PRG_VERSION)
File "/usr/lib/python2.4/site-packages/rhpl/exception.py", line 337, in handleException
import gtk
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ?
from gtk import _gtk
ImportError: /usr/lib/libcairo.so.2: undefined symbol: FT_GlyphSlot_Embolden
Original exception was:
Traceback (most recent call last):
File "/usr/sbin/system-config-network-gui", line 70, in ?
import gtk
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ?
from gtk import _gtk
ImportError: /usr/lib/libcairo.so.2: undefined symbol: FT_GlyphSlot_Embolden
现在连yum都用不了,不知道如何才能修复,谢谢
[root@localhost trunk]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 102, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 359, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
return base.updatePkgs(extcmds)
File "/usr/share/yum-cli/cli.py", line 628, in updatePkgs
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 102, in doRepoSetup
yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in doRepoSetup
repo.setup(self.conf.cache)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 518, in setup
self.baseurlSetup()
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 359, in baseurlSetup
mirrorurls = getMirrorList(self.mirrorlist, self.proxy_dict)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 713, in getMirrorList
fo = urlresolver.urlopen(url, proxies=pdict)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 607, in urlopen
return default_grabber.urlopen(url, **kwargs)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 884, in urlopen
return self._retry(opts, retryfunc, url)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 845, in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 883, in retryfunc
return URLGrabberFileObject(url, filename=None, opts=opts)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1001, in __init__
self._do_open()
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1068, in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1168, in _make_request
fo = opener.open(req)
File "/usr/lib/python2.4/urllib2.py", line 358, in open
response = self._open(req, data)
File "/usr/lib/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/python2.4/urllib2.py", line 573, in <lambda>
lambda r, proxy=url, type=type, meth=self.proxy_open: \
File "/usr/lib/python2.4/urllib2.py", line 580, in proxy_open
if '@' in host:
TypeError: iterable argument required |
|