QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 558|回复: 0

FC3下yum出错?

[复制链接]
发表于 2005-11-16 10:05:07 | 显示全部楼层 |阅读模式
我的系统是FC3,yum.conf文件如下:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
proxy=http://210.29.96.35:80

[geekbone]
name=geekbone Fedora Core $releasever - $basearch - Base
baseurl=http://mirrors.geekbone.org/fedora/core/$releasever/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[geekbone extras]
name=geekbone Fedora Extras $releasever - $basearch
baseurl=http://mirrors.geekbone.org/fedora/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1


1、RPM-GPG-KEY-fedora-extras这个文件是我在网站上下的,然后放在/etc/pki/rpm-gpg目录下,不知道这样对不对?

2、yum list出现错误如下:
[root@localhost ~]# yum list
Setting up Repo: geekbone extras
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
Cannot find a valid baseurl for repo: base
这是怎么回事啊?好像是找不到有效的baseurl,应该怎么解决啊?

3、yum.conf中proxy好像不起作用,只能export http_proxy=....才可以。

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

本版积分规则

GMT+8, 2024-11-29 03:51 , Processed in 0.061498 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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