[問題] CentOS EPEL 安裝問題

看板Linux作者 (什麼東西什麼東西)時間14年前 (2011/12/05 21:58), 編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/2 (看更多)
因為CentOS 6好像沒有要的套件 所以就想說裝個EPEL來讓安裝過程簡單一點 可是我在 #rpm -ivh http://mirror01.idc.hinet.net/epel/6/x86_64/epel-release-6-5.noarch.rpm 完之後 #yum install httpd (或其它套件) 都會出現 Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 請問我還要改什麼東西嗎 還是有什麼方法可以直接指定我到mirror01.idc.hinet.net上面去找需要的套件 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.120.103

12/06 00:57, , 1F
把/etc/yum.repos.d/下的epel.rep貼上來瞧瞧
12/06 00:57, 1F

12/06 00:57, , 2F
epel.repo之類的
12/06 00:57, 2F
[epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 [epel-debuginfo] name=Extra Packages for Enterprise Linux 6 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 6 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 ※ 編輯: OpenGoodHate 來自: 220.135.120.103 (12/06 12:07)
文章代碼(AID): #1EtCtg9o (Linux)
文章代碼(AID): #1EtCtg9o (Linux)