這個時候你可以在伺服器模式或圖形界面,自己去更新 apt-get 的 Server 列表,換成可用的 Server。
Steps: (Shell mode)
- Backup /etc/apt/sources.list sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
- Update contents of sources.list
- Configure sources.list sudo vi /etc/apt/sources.list
- Replace "tw.archive.'Ubuntu'.com" with "us.archive.'Ubuntu'.com" :1,$s/tw/us/g
- Save and quit :wq
- Re-synchronize the package index files from their sources. sudo apt-get update
Steps: (Desktop mode)
- Open the Update Manager
- Go to "Settings ..."
- Go to tab "'Ubuntu' Software"
- Open "Download from:"
- You could manual choose a server from list or let system auto select a server (by press "Select Best Server").
以上兩種方法擇一,皆可解決 "failed to fetch" 的錯誤。
沒有留言:
張貼留言