Dependencies Resolved
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 261, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 362, in doTransaction
lsts = self.listTransaction()
File "/usr/share/yum-cli/output.py", line 895, in listTransaction
self.tsInfo.makelists(True, True)
TypeError: makelists() takes exactly 1 argument (3 given)
类似这种问题,yum 坏了,今天整了一下。思路是用rpm 包来重新安装。
但是由于rpm 用的不是很多了。所以整了一会。
1. rpm -qa|grep yum
2. 然后把列出来的都用rpm -e 删了
有些有2个依赖的,比较蛋疼,后来发现rpm -e 就可以了
彻底删除干净,
3. 然后再rpm -i 安装,安装用163上面下载下来就行了。
然后突然发现,yum 又可用了,真爽。