在centos里怎么使用yum
2个回答
2014-12-08
展开全部
卸载掉系统中的yum包
[root@localhost ~]# rpm -qa |grep yum
yum-3.2.8-9.el5
yum-rhn-plugin-0.5.3-6.el5
yum-metadata-parser-1.1.2-2.el5
yum-security-1.1.10-9.el5
yum-updatesd-0.9-2.el5
[root@localhost ~]# rpm -qa |grep release
RedHat-release-notes-5Server-12
redhat-release-5Server-5.2.0.4
然后使用rpm -e packges 卸载这些软件包,有依赖关系的,使用--nodeps参数!
[root@localhost ~]# rpm -qa |grep yum
yum-3.2.8-9.el5
yum-rhn-plugin-0.5.3-6.el5
yum-metadata-parser-1.1.2-2.el5
yum-security-1.1.10-9.el5
yum-updatesd-0.9-2.el5
[root@localhost ~]# rpm -qa |grep release
RedHat-release-notes-5Server-12
redhat-release-5Server-5.2.0.4
然后使用rpm -e packges 卸载这些软件包,有依赖关系的,使用--nodeps参数!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询