killpanda
V2EX  ›  问与答

我把阿里云的 repo 列表搞挂了,谁能帮我提供一份 /etc/yum.repos.d/ 下的文件?

  •  
  •   killpanda · Jun 23, 2014 · 5824 views
    This topic created in 4412 days ago, the information mentioned may be changed or developed.
    # cat /etc/issue
    Aliyun Linux release 5.7
    Kernel \r on an \m


    万分感谢!
    8 replies    2014-06-23 22:28:59 +08:00
    cbsw
        1
    cbsw  
       Jun 23, 2014   ❤️ 1
    这个是阿里定制的 centos 吗?是的话可以找一份 centos 的然后将里面的 centos 关键字换成 aliyun 的试试
    killpanda
        2
    killpanda  
    OP
       Jun 23, 2014
    @cbsw 谢谢,不过看起来不行,它提示 http://mirror.centos.org/centos/%24releasever/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
    问题是 $releasever 到底是哪个版本 就不能确定了 只能找一份原始文件来替换掉
    aa65535
        3
    aa65535  
       Jun 23, 2014   ❤️ 1
    我这里是 6.5 的
    ```
    [root@ALiYun ~]# cat /etc/issue
    CentOS release 6.5 (Final)
    Kernel \r on an \m

    [root@ALiYun ~]# ls -l /etc/yum.repos.d/
    total 28
    -rw-r--r-- 1 root root 1926 Dec 1 2013 CentOS-Base.repo
    -rw-r--r-- 1 root root 638 Dec 1 2013 CentOS-Debuginfo.repo
    -rw-r--r-- 1 root root 630 Dec 1 2013 CentOS-Media.repo
    -rw-r--r-- 1 root root 4528 Dec 1 2013 CentOS-Vault.repo
    -rw-r--r-- 1 root root 957 Nov 5 2012 epel.repo
    -rw-r--r-- 1 root root 1056 Nov 5 2012 epel-testing.repo
    ```
    不确定能用 https://drive.google.com/file/d/0B2_XcmDgxYqral8yYWdRWXJYaDg/edit?usp=sharing
    killpanda
        4
    killpanda  
    OP
       Jun 23, 2014
    @aa65535 谢谢 为什么我的 issue 显示的是 Aliyun linux 呢? 这个和 ubuntu CentOS 一样,是当时部署时候的一个选项吗?
    aa65535
        5
    aa65535  
       Jun 23, 2014
    @killpanda 你系统应该是 Aliyun Linux 吧,那可能不适用了,我这个是 CentOS 。
    killpanda
        6
    killpanda  
    OP
       Jun 23, 2014
    @aa65535 对。。这个太蛋疼了 不知道他们当时怎么选的
    aa65535
        7
    aa65535  
       Jun 23, 2014   ❤️ 1
    @killpanda 可能使用的是阿里自己的源,这样的话建议还是去他们论坛寻求帮忙吧 http://bbs.aliyun.com/
    killpanda
        8
    killpanda  
    OP
       Jun 23, 2014
    @aa65535 谢谢 我去搜搜
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1312 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 17:29 · PVG 01:29 · LAX 10:29 · JFK 13:29
    ♥ Do have faith in what you're doing.