QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 969|回复: 0

请看看我的yum.conf文件,我是想把cdrom加进入

[复制链接]
发表于 2006-6-23 22:36:05 | 显示全部楼层 |阅读模式
请看我的/etc/yum.conf文件,里面只有本地的5个iso文件mount的文件夹,因为
看了公社的软件区里xmms2的安装方法,我是自定义安装的系统,想用FC5的5个iso文件解决依赖关系,就把5个iso文件都mount了,但是运行yum localinstall *.rpm后,发现yum连接过好多网站,见后面的部分运行结果,而且最后还是没有解决xmms的依赖关系。下面是我的yum.conf,不知道哪里错了,应该怎么改?谢谢。而且我的yum.conf没有什么外部网址,为什么运行yum时要去好多外部的望站搜索过?

[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=0
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=file:///mnt/cdrom
file://mnt/cdrom2
file://mnt/cdrom3
file://mnt/cdrom4
file://mnt/cdrom5
下面是yum localinstall *.rpm的一部分结果:

dded 2185 new packages, deleted 0 old in 61.76 seconds
primary.xml.gz            100% |=========================| 461 kB    00:05
updates   : ################################################## 1356/1356
Added 1356 new packages, deleted 0 old in 54.77 seconds
http://download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/repodata/primar y.xml.gz: [Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\x a7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
Trying other mirror.
ftp://fedora.bu.edu/fedora/extras/5/i386/repodata/primary.xml.gz: [Errno 4] IOEr ror: <urlopen error (-2, '\xe6\x9c\xaa\xe7\x9f\xa5\xe7\x9a\x84\xe5\x90\x8d\xe7\x a7\xb0\xe6\x88\x96\xe6\x9c\x8d\xe5\x8a\xa1')>
Trying other mirror.
http://mirror.linux.duke.edu/pub/fedora/linux/extras/5/i386/repodata/primary.xml .gz: [Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa 3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
Trying other mirror.
ftp://fedora.mirrors.tds.net/pub/fedora-core-extras/5/i386/repodata/primary.xml. gz: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
http://mirror.clarkson.edu/pub/distributions/fedora/linux/extras/5/i386/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-14 18:43 , Processed in 0.044583 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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