我的系统为红旗6.0SP3,想安装wine,在终端中输入yum install wine后的结果如下:
[root@localhost wur]# yum install wine
载入插件: presto, refresh-packagekit
Setting up and reading Presto delta metadata
Try to update /etc/sysconfig/dist.dat
DT60SP3_Repository 100% |=========================| 61 B 00:00
DT60SP3_Repository 100% |=========================| 951 B 00:00
No Presto metadata available for DT60SP3_Repository
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:02 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 330
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:03 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for extras
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/updates/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:03 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 331
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/updates/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:04 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 333
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for updates
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/os/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:05 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 326
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/os/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:05 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 328
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for base
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/centosplus/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:06 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 334
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/centosplus/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:07 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 336
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for centosplus
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/addons/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:07 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 330
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/addons/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:08 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for addons
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:09 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 330
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:49:10 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
错误: Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again
[root@localhost wur]# yum search wine
载入插件: presto, refresh-packagekit
Setting up and reading Presto delta metadata
Try to update /etc/sysconfig/dist.dat
DT60SP3_Repository 100% |=========================| 61 B 00:00
No Presto metadata available for DT60SP3_Repository
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:06 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 330
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:08 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for extras
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/updates/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:09 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 331
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/updates/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:12 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 333
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for updates
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/os/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:13 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 326
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/os/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:13 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 328
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for base
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/centosplus/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:14 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 334
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/centosplus/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:15 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 336
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for centosplus
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/addons/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:15 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 330
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/addons/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:16 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
No Presto metadata available for addons
Try to update /etc/sysconfig/dist.dat
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/dist.dat: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:17 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 330
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
Retrieve the dist.dat failed, still to continue
http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 29 Sep 2010 09:57:17 GMT
Server: Apache/2.0.52 (CentOS)
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1
尝试其他镜像.
错误: Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again
以上的25个镜像点都连接不了,不知是何原因?是否是软件源未进行必要的配置,软件源的配置方法至今未搞明白,请高手指教。
绿色圣光 于 2010-10-12 17:27:03发表:
麻烦楼主贴一下这个文件中的内容:
/etc/yum.repos.d/redflag-dt6sp3.repo
绿色圣光 于 2010-10-12 17:26:24发表:
红旗源的配置文件内容:[code][DT60SP3_Repository]
name=RedFlag Desktop 6.0 SP3
baseurl=http://www.redflag-linux.com/source/yum/dt60sp3/Update/RPMS
enabled=1
gpgcheck=0[/code]你确定你没改源?!!
wur 于 2010-10-12 10:25:18发表:
请哪位高手帮指点迷津。
wur 于 2010-10-01 09:56:55发表:
本机yum的配置文件“yum.conf”的内容如下:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=0
plugins=1
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
对该配置文件要怎样进行修改才能进行更新,请各位指点迷津。
wur 于 2010-10-01 09:51:49发表:
怀疑是否本机不能连接“centos.ustc.edu.cn”,但ping是可以通的,而且速度还很快,ping的结果如下:
[root@localhost ~]# ping centos.ustc.edu.cn
PING centos.ustc.edu.cn (202.141.160.23) 56(84) bytes of data.
64 bytes from 202.141.160.23: icmp_seq=1 ttl=50 time=90.3 ms
64 bytes from 202.141.160.23: icmp_seq=2 ttl=50 time=88.7 ms
64 bytes from 202.141.160.23: icmp_seq=3 ttl=50 time=87.1 ms
64 bytes from 202.141.160.23: icmp_seq=4 ttl=50 time=92.3 ms
64 bytes from 202.141.160.23: icmp_seq=5 ttl=50 time=91.7 ms
64 bytes from 202.141.160.23: icmp_seq=6 ttl=50 time=91.9 ms
64 bytes from 202.141.160.23: icmp_seq=7 ttl=50 time=92.9 ms
64 bytes from 202.141.160.23: icmp_seq=8 ttl=50 time=95.0 ms
^C
--- centos.ustc.edu.cn ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7014ms
rtt min/avg/max/mdev = 87.191/91.293/95.058/2.352 ms
wur 于 2010-10-01 09:47:47发表:
软件更新的控制台视图显示结果如下:
09:11:37 : Yum配置设置
09:11:37 : 载入插件: presto, refresh-packagekit
09:11:38 : Yum Version : 3.2.19
09:11:38 : 图形用户界面设置完成
09:11:38 : 设置Yum:事务集合
09:11:38 : Setting up and reading Presto delta metadata
09:12:10 : No Presto metadata available for DT60SP3_Repository
09:12:10 : 获取http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/dist.dat失败:
09:12:10 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:31 GMT
09:12:10 : --> Server: Apache/2.0.52 (CentOS)
09:12:10 : --> Content-Length: 330
09:12:10 : --> Connection: close
09:12:10 : --> Content-Type: text/html; charset=iso-8859-1
09:12:10 : -->
09:12:10 : Trying other mirror.
09:12:10 : 获取http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/repomd.xml失败:
09:12:10 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:31 GMT
09:12:10 : --> Server: Apache/2.0.52 (CentOS)
09:12:10 : --> Content-Length: 332
09:12:10 : --> Connection: close
09:12:10 : --> Content-Type: text/html; charset=iso-8859-1
09:12:10 : -->
09:12:10 : Trying other mirror.
09:12:10 : No Presto metadata available for extras
09:12:10 : 获取http://centos.ustc.edu.cn/centos/%24releasever/updates/i386/repodata/dist.dat失败:
09:12:10 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:31 GMT
09:12:10 : --> Server: Apache/2.0.52 (CentOS)
09:12:10 : --> Content-Length: 331
09:12:11 : --> Connection: close
09:12:11 : --> Content-Type: text/html; charset=iso-8859-1
09:12:11 : -->
09:12:11 : Trying other mirror.
09:12:11 : 获取http://centos.ustc.edu.cn/centos/%24releasever/updates/i386/repodata/repomd.xml失败:
09:12:11 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:32 GMT
09:12:11 : --> Server: Apache/2.0.52 (CentOS)
09:12:11 : --> Content-Length: 333
09:12:11 : --> Connection: close
09:12:11 : --> Content-Type: text/html; charset=iso-8859-1
09:12:11 : -->
09:12:11 : Trying other mirror.
09:12:11 : No Presto metadata available for updates
09:12:11 : 获取http://centos.ustc.edu.cn/centos/%24releasever/os/i386/repodata/dist.dat失败:
09:12:11 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:32 GMT
09:12:11 : --> Server: Apache/2.0.52 (CentOS)
09:12:11 : --> Content-Length: 326
09:12:11 : --> Connection: close
09:12:11 : --> Content-Type: text/html; charset=iso-8859-1
09:12:11 : -->
09:12:11 : Trying other mirror.
09:12:12 : 获取http://centos.ustc.edu.cn/centos/%24releasever/os/i386/repodata/repomd.xml失败:
09:12:12 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:33 GMT
09:12:12 : --> Server: Apache/2.0.52 (CentOS)
09:12:12 : --> Content-Length: 328
09:12:12 : --> Connection: close
09:12:12 : --> Content-Type: text/html; charset=iso-8859-1
09:12:12 : -->
09:12:12 : Trying other mirror.
09:12:12 : No Presto metadata available for base
09:12:12 : 获取http://centos.ustc.edu.cn/centos/%24releasever/centosplus/i386/repodata/dist.dat失败:
09:12:12 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:33 GMT
09:12:12 : --> Server: Apache/2.0.52 (CentOS)
09:12:12 : --> Content-Length: 334
09:12:12 : --> Connection: close
09:12:12 : --> Content-Type: text/html; charset=iso-8859-1
09:12:12 : -->
09:12:12 : Trying other mirror.
09:12:13 : 获取http://centos.ustc.edu.cn/centos/%24releasever/centosplus/i386/repodata/repomd.xml失败:
09:12:13 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:33 GMT
09:12:13 : --> Server: Apache/2.0.52 (CentOS)
09:12:13 : --> Content-Length: 336
09:12:13 : --> Connection: close
09:12:13 : --> Content-Type: text/html; charset=iso-8859-1
09:12:13 : -->
09:12:13 : Trying other mirror.
09:12:13 : No Presto metadata available for centosplus
09:12:13 : 获取http://centos.ustc.edu.cn/centos/%24releasever/addons/i386/repodata/dist.dat失败:
09:12:13 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:34 GMT
09:12:13 : --> Server: Apache/2.0.52 (CentOS)
09:12:13 : --> Content-Length: 330
09:12:13 : --> Connection: close
09:12:13 : --> Content-Type: text/html; charset=iso-8859-1
09:12:13 : -->
09:12:13 : Trying other mirror.
09:12:13 : 获取http://centos.ustc.edu.cn/centos/%24releasever/addons/i386/repodata/repomd.xml失败:
09:12:13 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:34 GMT
09:12:13 : --> Server: Apache/2.0.52 (CentOS)
09:12:13 : --> Content-Length: 332
09:12:13 : --> Connection: close
09:12:13 : --> Content-Type: text/html; charset=iso-8859-1
09:12:13 : -->
09:12:13 : Trying other mirror.
09:12:14 : No Presto metadata available for addons
09:12:14 : 获取http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/dist.dat失败:
09:12:14 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:35 GMT
09:12:14 : --> Server: Apache/2.0.52 (CentOS)
09:12:14 : --> Content-Length: 330
09:12:14 : --> Connection: close
09:12:14 : --> Content-Type: text/html; charset=iso-8859-1
09:12:14 : -->
09:12:14 : Trying other mirror.
09:12:14 : 获取http://centos.ustc.edu.cn/centos/%24releasever/extras/i386/repodata/repomd.xml失败:
09:12:14 : --> [Errno 4] IOError: HTTP Error 404: Date: Fri, 01 Oct 2010 01:12:35 GMT
09:12:14 : --> Server: Apache/2.0.52 (CentOS)
09:12:14 : --> Content-Length: 332
09:12:14 : --> Connection: close
09:12:14 : --> Content-Type: text/html; charset=iso-8859-1
09:12:14 : -->
09:12:14 : Trying other mirror.
09:16:42 : Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again
09年红旗7.0出来后,曾装过7.0,但因7.0对硬件要求过高,我的电脑(04年的组装机,当时就不是顶配)运行很慢,又装回了6.0 SP3,当时是可以进行更新的,但全部更新后造成系统登录不了,重装系统后就没有更新过。
现在因想安装窗口管理器AWN装不了,想选择性更新一下,但却出现以上的情况,根本更新不了。请各位指教。
wur 于 2010-10-01 09:37:19发表:
运行“开始”--“更新”--“软件更新”时,弹出了错误提示窗口,内容是:
Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again
星际后的结果是:
不能检索贮藏库变数据(repomd.xml)贮藏库的: 额外。 请再核实它的道路和尝试
wur 于 2010-10-01 09:30:12发表:
对“软件更新”的控制台输出情况是我搞错了,不是25个镜像点,镜像点(或源)只有一个,即“centos.ustc.edu.cn”,正确的说法应该是25个相关文件才对。
yum的配置文件我没有改,是系统默认的。
绿色圣光 于 2010-09-29 18:48:58发表:
你自己乱改的源吗?
红旗好像就只有官方的一个源……