既然把默认python改成了python3的版本,那么这时候yum就出问题了,因为yum貌似不支持python3,开发了这个命令的老哥也不打算继续写支持python3的版本了,所以,如果和python版本相关的文件就不要通过yum下载了,这里我们需要把yum默认的指向改为python2.7的版本,分别是两个文件,使用vi打开,输入i进行修改,修改完之后按esc键,然后输入":wq",这就完成了修改并保存: vi /usr/libexec/urlgrabber-ext-down vi /
由于最近曝出linux的bash漏洞,想更新下bash,于是 想到了配置CentOS yum source. 测试bash漏洞的命令: env x='() { :;}; echo "Your bash version is vulnerable"' bash -c "echo This is a test" Your bash version is vulnerable This is a test 在此感谢网易的镜像文件! .删除redhat原有的yum rpm
http://wiki.centos.org/TipsAndTricks/BrokenVserver centos mirror: http://mirror.centos.org/centos/6/os/x86_64/ 注意匹配正确的版本, /ect/yum.conf How to install yum on a Virtual Server Contents But I DO have yum already, and I AM on CentOS I don't have yum
centos yum 完全卸载依赖 you install a package with yum install, say pdftk, it will pull in a lot of dependencies: Installed: pdftk.x86_64 0:1.44-10.fc18 Dependency Installed: bouncycastle.noarch 0:1.46-6.fc18 itext-core.noarch 0:2.1.7-14.fc18 libgcj.x86