2

An Error Report

view story
linux-howto

http://forums.fedoraforum.org – I have a error message : Quote: Traceback (most recent call last): File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2151, in get_updates ygl = self.yumbase.doPackageLists(pkgnarrow='updates') File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1678, in doPackageLists for (n,a,e,v,r) in self.up.getUpdatesList(): File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 662, in <lambda> up = property(fget=lambda self: self._getUpdates(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 546, in _getUpdates self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList( ), self.pkgSack.simplePkgList()) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 491, 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 1178, in _check_db_version repoXML = self.repoXML File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1342, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1334, in _getRepoXML self._loadRepoXML(text=self) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1324, in _loadRepoXML return self._groupLoadRepoXML(text, ["primary"]) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1307, in _groupLoadRepoXML if self._commonLoadRepoXML(text): File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1153, in _commonLoadRepoXML result = self._getFileRepoXML(local, text) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 934, in _getFileRepoXML cache=self.http_caching == 'all') File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 770, in _getFile result = self.grab.urlgrab(misc.to_utf8(relative), local, File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 496, in <lambda> grab = property(lambda self: self._getgrab()) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 491, in _getgrab self._setupGrab() File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 480, in _setupGrab self._grab = mgclass(self._grabfunc, self.urls, File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 628, in <lambda> urls = property(fget=lambda self: self._geturls(), File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 625, in _geturls self._baseurlSetup() File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 582, in _baseurlSetup mirrorurls.extend(self._getMirrorList()) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1581, 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 0xe6 in position 155: ordinal not in range(128) how can I fix it ?:( (HowTos)