LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 801|回复: 2

我安装了rhel6,我如何卸载它默认安装的yum呢?

[复制链接]
发表于 2011-4-8 09:27:43 | 显示全部楼层 |阅读模式
我安装了rhel6,我如何卸载它默认安装的yum呢?我想换个别的yum源,但是这个yum乱七八糟的依赖关系卸载了半天我还是没卸载掉。。。。请高手出招。。
发表于 2011-4-8 11:25:31 | 显示全部楼层
换源,只要改那个repo文件,又不需要卸载rpm包。
回复 支持 反对

使用道具 举报

发表于 2011-4-15 17:46:38 | 显示全部楼层
[root@atyu30 upload]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=0
obsoletes=0
gpgcheck=0
plugins=0
installonly_limit=3

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[root@atyu30 upload]#
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表