gugarthur
(usa Fedora)
Enviado em 19/10/2010 - 17:01h
Pessoal,
estou com problemas para rodar o yum. Quando faço uma pesquisa, por exemplo, aparece a seguinte mensagem:
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 363, in _do_search
for (pkg, inst) in res:
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1922, in searchGenerator
for sack in self.pkgSack.sacks.values():
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 702, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 538, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 277, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 164, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 222, in _check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1222, in _check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1386, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1378, in _getRepoXML
self._loadRepoXML(text=self)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1360, in _loadRepoXML
return self._groupLoadRepoXML(text)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1351, in _groupLoadRepoXML
if self._commonLoadRepoXML(text):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1197, in _commonLoadRepoXML
result = self._getFileRepoXML(local, text)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 976, in _getFileRepoXML
cache=self.http_caching == 'all')
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 797, in _getFile
result = self.grab.urlgrab(misc.to_utf8(relative), local,
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 498, in <lambda>
grab = property(lambda self: self._getgrab())
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 493, in _getgrab
self._setupGrab()
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 482, in _setupGrab
self._grab = mgclass(self._grabfunc, self.urls,
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 655, in <lambda>
urls = property(fget=lambda self: self._geturls(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 652, in _geturls
self._baseurlSetup()
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 606, in _baseurlSetup
mirrorurls.extend(self._getMirrorList())
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1625, in _getMirrorList
print "Could not retrieve mirrorlist $s error was\n$s" $ (url, e)
File "/usr/lib/python2.6/codecs.py", line 351, in write
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 135: ordinal not in range(128)
Alguém pode me ajudar?