ECS Linux系统yum卸载重装的处理方法
发布日期:2016-1-9 16:1:26
yum卸载: 从上图中可看到已成功卸载,之后使用命令 whereis yum 搜索剩余的残留目录,进行删除 yum下载(centos6): wget http://mirror.centos.org/centos-6/6/os/x86_64/Packages/yum-3.2.29-69.el6.centos.noarch.rpm wget http://mirror.centos.org/centos-6/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm wget http://mirror.centos.org/centos-6/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm yum安装(centos6): rpm -ivh yum-3.2.29-69.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm yum-metadata-parser-1.1.2-16.el6.x86_64.rpm 安装详情如下图所示: 可看到已安装成功:
|