Chinaunix

标题: yum卸载问题! [打印本页]

作者: baicaidaoshi    时间: 2009-06-11 09:59
标题: yum卸载问题!
我装的是red hat ES 5 关于更新源我想,让系统用CentOS源,但是网上说要先卸载原来的yum。
在终端
#rpm -qa yum 出现
#yum-3.2.19-18.el5  然后
#rpm -e yum-3.2.19-18.el5  出现
error: Failed dependencies:
        yum >= 3.2.18 is needed by (installed) yum-security-1.1.16-13.el5.noarch
        yum >= 3.2.19-15 is needed by (installed) yum-rhn-plugin-0.5.3-30.el5.noarch
        yum >= 3.2.0 is needed by (installed) yum-updatesd-0.9-2.el5.noarch
        yum >= 3.2.5-2 is needed by (installed) pirut-1.3.28-13.el5.noarch
然后又在终端里输入
#rpm -qa | grep yum 出现
yum-updatesd-0.9-2.el5
yum-3.2.19-18.el5
yum-security-1.1.16-13.el5
yum-rhn-plugin-0.5.3-30.el5
yum-metadata-parser-1.1.2-2.el5
出现这些!
我这个系统怎么册yum?
yum有官网吗?
下一个新版本只能在 baidu / google那样的地方找吗?
请各位高手们指点!谢谢!
作者: chenyx    时间: 2009-06-11 10:06
不用删除yum吧.
直接添加repo文件yum
作者: 聪明笨小孩    时间: 2009-06-11 10:10
只需要改变源的配置文件 /etc  下 , 不需要卸载YUM
作者: honckly    时间: 2009-06-11 10:47
yum有时候还是比较方便的,别删。
作者: www_xylove    时间: 2009-06-11 12:39
YUM源和CENT0S源共存,不好吗
作者: baicaidaoshi    时间: 2009-06-13 14:50
谢谢大家的建意!
但我还是想知道,怎么册这个软件然后在那里下!
作者: gamester88    时间: 2009-06-13 15:28
同意2楼


如果真要删除的话:rpm -e xxx.rpm
作者: baicaidaoshi    时间: 2009-06-13 16:17
可是我在终端输入rpm -e yum-3.2.19-18.el5之后
就出现
error: Failed dependencies:
        yum >= 3.2.18 is needed by (installed) yum-security-1.1.16-13.el5.noarch
        yum >= 3.2.19-15 is needed by (installed) yum-rhn-plugin-0.5.3-30.el5.noarch
        yum >= 3.2.0 is needed by (installed) yum-updatesd-0.9-2.el5.noarch
        yum >= 3.2.5-2 is needed by (installed) pirut-1.3.28-13.el5.noarch
这样的错误提示!
这就是我非常惹火的!
作者: totohk    时间: 2009-06-13 16:24
学习~~~~~~~~~
作者: chenyx    时间: 2009-06-13 16:40
rpm -e --nodeps ...rpm
作者: baicaidaoshi    时间: 2009-06-13 18:47
10楼的朋友,用你的方法我已经把yum册除了!
可是
yum-rhn-plugin-0.5.3-30.el5
yum-metadata-parser-1.1.2-2.el5
到这两个文件时就出现这样的错误提示!能帮我在看一下吗?
[root@localhost ~]# rpm -e yum-rhn-plugin-0.5.3-30.el5
error: Failed dependencies:
        yum-rhn-plugin >= 0.5.3-30 is needed by (installed) rhn-client-tools-0.4.19-17.el5.noarch
[root@localhost ~]# rpm -e yum-metadate-parser-1.1.2-2.el5
error: package yum-metadate-parser-1.1.2-2.el5 is not installed
用 --nodeps 也是出现错误!
作者: chenyx    时间: 2009-06-13 19:15
那就安装Centos的yum程序
作者: sunxuekunmm    时间: 2014-09-16 17:34
删除rpm包不需要加扩展名。rpm




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2