设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Redhat/Fedora/CentOS Linux
›
yum用不了,各位高手帮帮忙啊
返回列表
查看:
886
|
回复:
2
yum用不了,各位高手帮帮忙啊
[复制链接]
davycu
davycu
当前离线
积分
58
IP卡
狗仔卡
发表于 2008-2-28 20:59:35
|
显示全部楼层
|
阅读模式
好久没用过了,昨天用一下,发现不能用了,昨天搞了一夜没弄好,各位看看怎么解决啊?
出错信息如下:
[root@localhost davy]# yum update chmsee
Setting up Update Process
http://rpm.livna.org/fedora/Null/i386/repodata/repomd.xml:
[Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://livna.cat.pdx.edu/fedora/Null/i386/repodata/repomd.xml:
[Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/l ... epodata/repomd.xml:
[Errno 14] HTTP Error 404: Content-Type: text/html
Content-Length: 345
Date: Thu, 28 Feb 2008 12:25:21 GMT
Server: lighttpd/1.4.18
Trying other mirror.
http://ftp-stud.fht-esslingen.de ... epodata/repomd.xml:
[Errno 14] HTTP Error 404: Content-Type: text/html
Content-Length: 345
Date: Thu, 28 Feb 2008 12:25:24 GMT
Server: lighttpd/1.4.18
Trying other mirror.
http://mirror.atrpms.net/livna/f ... epodata/repomd.xml:
[Errno 14] HTTP Error 404: Date: Thu, 28 Feb 2008 12:27:02 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 323
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
ftp://mirrors.tummy.com/pub/rpm. ... epodata/repomd.xml:
[Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: livna
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
davycu
davycu
当前离线
积分
58
IP卡
狗仔卡
楼主
|
发表于 2008-2-28 21:26:33
|
显示全部楼层
1# PUT YOUR REPOS HERE OR IN separate files named file.repo
2 # in /etc/yum.repos.d
3
4 [main]
5 cachedir=/var/cache/yum
6 debuglevel=2
7 logfile=/var/log/yum.log
8 pkgpolicy=newest
9 distroverpkg=yellowdog-release
10 tolerant=1
11 exactarch=1
12
13 [base]
14 name=Red Hat Enterprise AS release 4 Updates
15 baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/os/i386/RedHat/
16 gpgcheck=1
17 gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
18
19 [update]
20 name=Red Hat Enterprise AS release 4 Updates
21 baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/updates/4AS/
22 gpgcheck=1
23 gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/RPM-GPG-KEY-linuxpub
24
25
------------------------------
这是我的/etc/yum.conf文件,各位指导下啊
回复
支持
反对
使用道具
举报
显身卡
yourfriend
yourfriend
当前离线
积分
2382
IP卡
狗仔卡
发表于 2008-2-28 22:51:51
|
显示全部楼层
yum install yum-fastestmirror 安装一个插件试试,不行的话,看看这里
http://www.fedorachina.cn/index.php/topic,524.0.html
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
开源软件专题讨论
Archlinux讨论区
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表