Centos 6.4 yum 报错 File “/usr/bin/yum”, line 30

    Read

本来打算升级下系统所有软件包,居然发现yum无法使用了。提示第三十行错误。


原来是由于升级了默认的python导致的后果,《升级Centos 6.4 默认Python》。问题找到,那么就比较容易解决了。SourceByrd's Weblog-https://note.t4x.org/error/file-yum-except-keyboardinterrupt/

方法一:修改python版本到默认版本;



方法二:修改python脚本;这个貌似不可行。
SourceByrd's Weblog-https://note.t4x.org/error/file-yum-except-keyboardinterrupt/

申明:本文由BYRD原创(基于Centos6.4 X64),未经许可禁止转载!SourceByrd's Weblog-https://note.t4x.org/error/file-yum-except-keyboardinterrupt/ SourceByrd's Weblog-https://note.t4x.org/error/file-yum-except-keyboardinterrupt/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on April 15, 2014
  • 原文链接:https://note.t4x.org/error/file-yum-except-keyboardinterrupt/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: