友情提示:欢迎光临,本博客提供的代码,请粘贴到EditPlus 3中使用!!请使用火狐,Chrome浏览器进行浏览网站!出售wenca.cn域名,有要的请M我qq:316358892

解决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) 浏览(600)