Здравствуйте. Неожиданно на 2 серверах с CentOS 6.1 сломался yum вот что пишет: yum search php Loaded plugins: fastestmirror, refresh-packagekit Determining fastest mirrors Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 274, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 129, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 436, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 689, in doCommand return base.search(extcmds) File "/usr/share/yum-cli/cli.py", line 998, in search for (po, keys, matched_value) in matching: File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 2478, in searchGenerator for sack in self.pkgSack.sacks.values(): File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 882, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 668, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.6/site-packages/yum/repos.py", line 260, in populateSack self.doSetup() File "/usr/lib/python2.6/site-packages/yum/repos.py", line 92, in doSetup self.ayum.plugins.run('postreposetup') File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook if downgrade_ftp and _len_non_ftp(repo.urls) == 1: File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 706, in <lambda> urls = property(fget=lambda self: self._geturls(), File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 703, in _geturls self._baseurlSetup() File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 655, in _baseurlSetup self.mirrorurls = self._replace_and_check_url(mirrorurls) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 698, in _replace_and_check_url print 'YumRepo Error: All mirror URLs are not using ftp, http[s] or file.\n Eg. %s' % misc.to_utf8(skipped) File "/usr/lib64/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 82: ordinal not in range(128)В этих системах LANG=ru_RU.UTF-8 На сервере гда такая же система но LANG=en_US.UTF-8 всё ок. LANG=C yum search php -- то же самое пробовал: yum clean metadata yum clean all yum update Прошу помощи. Заранее спасибо!
|