原文:CentOS中输入yum报错:sudo: unable to execute /bin/yum: No such file or directory

今天尝试更新了下虚拟机CentOS中的python版本后。 运行 yum 命令,就报错: sudo: unable to execute bin yum: No such file or directory 查询了下网上的资料发现,原来yum调用是用python写的。遂想起刚刚更新python版本,忘了修改yum配置文件了。 解决办法:修改yum配置文件 root localhost vim us ...

2016-04-25 17:05 2 5098 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM