Uni9k
V2EX  ›  CentOS

RedHat5.6 想要使用 yum

  •  
  •   Uni9k · Aug 24, 2016 · 3829 views
    This topic created in 3739 days ago, the information mentioned may be changed or developed.

    配置了国内的 yum 源,提示下面的内容,之前用的阿里云的,奇怪的是也是提示 404 ,但是服务器实际上是能 ping 通,并且下载到那个文件的。

    Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. http://mirrors.ustc.edu.cn/centos/5Server/addons/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again

    8 replies  •  2016-08-25 07:43:56 +08:00
    smileawei
    smileawei
    Aug 24, 2016
    1
    点击链接 显示 404 不知道你为啥能下载到文件。
    Uni9k
    Uni9k
    OP
    Aug 24, 2016
    2
    @smileawei 是啊 所以郁闷。。。
    jhaohai
    jhaohai
    Aug 24, 2016 via iPhone
    3
    那个是 centos 的源,不是 rhel 的
    Uni9k
    Uni9k
    OP
    Aug 24, 2016
    4
    @jhaohai 百度貌似说 centos 源能替换 rhel 默认的
    AstroProfundis
    AstroProfundis
    Aug 24, 2016
    5
    5Server 换成 5 就行了
    Uni9k
    Uni9k
    OP
    Aug 24, 2016
    7
    @AstroProfundis 就是看到镜像站中是 5 我就换了 还是提示 404 但是 wget 能下下来 太诡异了
    Delbert
    Delbert
    Aug 25, 2016 via Android
    8
    @Uni9k curl -I 看下头部有没有跳转
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:47 · PVG 02:47 · LAX 10:47 · JFK 13:47
    ♥ Do have faith in what you're doing.