Uni9k
V2EX  ›  CentOS

RedHat5.6 想要使用 yum

  •  
  •   Uni9k · Aug 24, 2016 · 3757 views
  •   You need to sign in to view this topic
    This topic created in 3704 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
        1
    smileawei  
       Aug 24, 2016
    点击链接 显示 404 不知道你为啥能下载到文件。
    Uni9k
        2
    Uni9k  
    OP
       Aug 24, 2016
    @smileawei 是啊 所以郁闷。。。
    jhaohai
        3
    jhaohai  
       Aug 24, 2016 via iPhone
    那个是 centos 的源,不是 rhel 的
    Uni9k
        4
    Uni9k  
    OP
       Aug 24, 2016
    @jhaohai 百度貌似说 centos 源能替换 rhel 默认的
    AstroProfundis
        5
    AstroProfundis  
       Aug 24, 2016
    5Server 换成 5 就行了
    julyclyde
        6
    julyclyde  
       Aug 24, 2016
    Uni9k
        7
    Uni9k  
    OP
       Aug 24, 2016
    @AstroProfundis 就是看到镜像站中是 5 我就换了 还是提示 404 但是 wget 能下下来 太诡异了
    Delbert
        8
    Delbert  
       Aug 25, 2016 via Android
    @Uni9k curl -I 看下头部有没有跳转
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5867 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 73ms · UTC 02:30 · PVG 10:30 · LAX 19:30 · JFK 22:30
    ♥ Do have faith in what you're doing.