解決Linux更新錯誤some index files failed to download

小編在安裝更新Linux時遇到了some index files failed to download ,這個問題是因為找不到下載來源的問題,解決的方式就是將Source List的來源更換,以下提供解決方式如下:

 

1.首先將source list備份

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

 

2.開啟source (這邊採用gedit 也可使用vi 開啟)

sudo gedit /etc/apt/sources.list

 

3.更新 source list 貼到文件上

deb http://mirror.lupaworld.com/ubuntu maverick main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-proposed main restricted universe multiverse

 

4.儲存檔案並且更新

sudo apt-get update

 

  附錄:以下提供 source list 列表 Ubuntu 10.10版本

#maverick(10.10)

#Archive.ubuntu.com

deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse


deb http://ubuntu.srt.cn/ubuntu/ maverick main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ maverick-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ maverick-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ maverick main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ maverick-backports main restricted universe multiverse


deb http://mirrors.163.com/ubuntu/ maverick main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ maverick-backports main restricted universe multiverse

Leave a Comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *