红联Linux门户
Linux帮助

这个error是不是软件更新的问题

发布时间:2013-04-14 22:35:51来源:红联作者:purplejack
由于保密需要,我的办公电脑不能联因特网。这几天发现老是弹出来一个internal system error,
其具体内容如下所示:
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2059, in

get_distro_upgrades
pkgs = self.yumbase.pkgSack.returnNewestByName(name='preupgrade')
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 646, in
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 488, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 260, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 162, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 220, in

_check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1174, in

_check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1337, in
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1333, in _getRepoXML
raise Errors.RepoError, msg
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.

Please verify its path and try again
----------------------------------------------------------------------------------
从内容来看,应该是yum的问题,不过我关心的是怎么不再让它弹出来?我想可能是software
update需要关闭。不知道我想的对不对?请大家指教。
文章评论

共有 3 条评论

  1. dlchengzi 于 2014-05-07 12:24:18发表:

    很好,很强大!

  2. alick 于 2013-04-16 20:01:39发表:

    没联网啊,那就在系统首选项配置里的软件更新设置中,把检查更新都关闭。

  3. omaybrua 于 2013-04-15 08:33:23发表:

    帮顶下