LinuxSir.cn,穿越时空的Linuxsir!

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

求一个yum.conf文件

[复制链接]
发表于 2006-7-1 18:42:45 | 显示全部楼层 |阅读模式
不小心把内容改了没有备份,yum用不了。

那位yum可用的把yum.conf的内容贴一下,谢谢了
 楼主| 发表于 2006-7-1 18:43:50 | 显示全部楼层
/etc/yum.conf
回复 支持 反对

使用道具 举报

发表于 2006-7-1 18:50:23 | 显示全部楼层
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

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

使用道具 举报

 楼主| 发表于 2006-7-2 07:57:02 | 显示全部楼层
感谢楼上朋友
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-3 13:46:29 | 显示全部楼层
[root@dhcppc2 ~]# yum list
Repository freshrpms is listed more than once in the configuration
Loading "kernel-module" plugin
Setting up repositories
core                                                                 [1/3]
http://ayo.freshrpms.net/fedora/ ... epodata/repomd.xml: [Errno 14] HTTP Error 403: Mime-Version: 1.0
Date: Mon, 03 Jul 2006 05:16:30 GMT
Content-Type: text/html
Proxy-connection: close
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.


yum继续不能用,求助

曾经强制卸载了yum,再次安装了yum就不好用了
回复 支持 反对

使用道具 举报

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

本版积分规则

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