用yum更新Fedora或是安裝軟體時
由於連到國外速度太慢
經網路上查詢 就在/etc/yum.conf裡面加入了以下這些
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://ftp.cdpa.nsysu.edu.tw/Linux/Fedora/linux/core/$releasever
/$basearch/os/
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://ftp.cdpa.nsysu.edu.tw/Linux/Fedora/linux/core/updates
/$releasever/$basearch/
將套件的路徑設成中山大學的伺服器
可是接下來 yum list後會發現錯誤:
development 100% |=========================| 2.1 kB 00:00
updates-debuginfo 100% |=========================| 1.9 kB 00:00
fedora 100% |=========================| 2.1 kB 00:00
development-debuginfo 100% |=========================| 1.9 kB 00:00
updates-source 100% |=========================| 2.1 kB 00:00
updates-testing-debuginfo 100% |=========================| 1.9 kB 00:00
updates-testing 100% |=========================| 2.3 kB 00:00
http://ftp.cdpa.nsysu.edu.tw/Linux/Fedora/linux/core/8/i386/os/repodata/
repomd.xml:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base.
Please verify its path and try again
想請問事路徑有問題嗎??
我在網路上找不到國內有fedora 9版本的 yum 路徑
所以想請教一下各位大大
謝謝 :)
p.s. linux真是個神奇的東西.... (初學感想)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.124.72.224
※ 編輯: pro01 來自: 140.124.72.224 (04/12 13:35)