友情提示:欢迎光临!本地已启用二维码api网关,地址是https://api.slogra.com

解决yum出现“UnicodeDecodeError: 'ascii' codec”

post by rocdk890 / 2015-5-19 15:44 Tuesday linux技术

  今天新装的一台服务器,打算用yum安装gcc等程序,出现下面的问题:
      Loading mirror speeds from cached hostfile 
    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 285, in user_main 
        errcode = main(args) 
      File "/usr/share/yum-cli/yummain.py", line 136, in main 
        result, resultmsgs = base.doCommands() 
      File "/usr/share/yum-cli/cli.py", line 434, in doCommands 
        self._getTs(needTsRemove) 
      File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs 
        self._getTsInfo(remove_only...

阅读全文>>

标签: centos yum 安装 linux install UnicodeDecodeError

评论(0) 引用(0) 浏览(3596)