免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3195 | 回复: 6
打印 上一主题 下一主题

[网络配置] CENTOS6.3YUM 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-01-20 18:13 |只看该作者 |倒序浏览
yum repolist all 出现如下情况  刚接触不久,不知道如何解决。
http://mirrors.sohu.com/centos/6/addons/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://mirror.centos.org/centos/ ... epodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
repo id               repo name                                       status
C6.0-base             CentOS-6.0 - Base                               disabled
C6.0-centosplus       CentOS-6.0 - CentOSPlus                         disabled
C6.0-contrib          CentOS-6.0 - Contrib                            disabled
C6.0-extras           CentOS-6.0 - Extras                             disabled
C6.0-updates          CentOS-6.0 - Updates                            disabled
C6.1-base             CentOS-6.1 - Base                               disabled
C6.1-centosplus       CentOS-6.1 - CentOSPlus                         disabled
C6.1-contrib          CentOS-6.1 - Contrib                            disabled
C6.1-extras           CentOS-6.1 - Extras                             disabled
C6.1-updates          CentOS-6.1 - Updates                            disabled
C6.2-base             CentOS-6.2 - Base                               disabled
C6.2-centosplus       CentOS-6.2 - CentOSPlus                         disabled
C6.2-contrib          CentOS-6.2 - Contrib                            disabled
C6.2-extras           CentOS-6.2 - Extras                             disabled
C6.2-updates          CentOS-6.2 - Updates                            disabled
addons                CentOS-6 - Addons - sohu.com                    enabled: 0
adobe-linux-i386      Adobe Systems Incorporated                      enabled: 0
base                  CentOS-6 - Base - sohu.com                      enabled: 0
centosplus            CentOS-6 - Plus - sohu.com                      enabled: 0
contrib               CentOS-6 - Contrib - sohu.com                   enabled: 0
debug                 CentOS-6 - Debuginfo                            disabled
extras                CentOS-6 - Extras - sohu.com                    enabled: 0
rpmforge              Red Hat Enterprise 6 - RPMforge.net - dag       enabled: 0
updates               CentOS-6 - Updates - sohu.com                   enabled: 0
repolist: 0

论坛徽章:
0
2 [报告]
发表于 2013-01-20 19:19 |只看该作者
http://mirrors.sohu.com/centos/6/

仔细看看这个连接下 目录 和你写的的路径对吗?

提示你 404 找不到了

你都6.3了 还用6的源干吗  学习灵活点

论坛徽章:
0
3 [报告]
发表于 2013-01-20 22:15 |只看该作者
回复 2# taojie2000


    [base]
name=CentOS-$releasever - Base - sohu.com
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirrors.sohu.com/centos/6.3/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates - sohu.com
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirrors.sohu.com/centos/6.3/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons - sohu.com
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://mirrors.sohu.com/centos/6.3/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - sohu.com
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://mirrors.sohu.com/centos/6.3/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - sohu.com
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://mirrors.sohu.com/centos/6.3/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib - sohu.com
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://mirrors.sohu.com/centos/6.3/$releasever/contrib/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
帮我看看看对吗

论坛徽章:
1
处女座
日期:2014-01-21 13:20:51
4 [报告]
发表于 2013-01-20 22:21 |只看该作者
没必要改里面的东西吧。

论坛徽章:
1
处女座
日期:2014-01-21 13:20:51
5 [报告]
发表于 2013-01-20 22:22 |只看该作者
大不了下载安装时慢一点,根本不影响稳定和可操作的。

论坛徽章:
0
6 [报告]
发表于 2013-01-21 09:35 |只看该作者
enabled = 1

论坛徽章:
0
7 [报告]
发表于 2013-01-22 16:27 |只看该作者
回复 3# 北京的浪人


    你没明白我说的啊  

    addons 这个目录 你看我发的连接  

     对照你主题的url报错连接  对比下!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP