設定Ubuntu 10.10版本的軟體源
阿新 • • 發佈:2019-01-22
網上有很多關於軟體源資訊的更新,每次將它們copy到/etc/apt/sources.list中,且將copy下來的資訊的版本名字修改為maverick,再執行sudo apt-get update,總會出現一連串的錯誤。後面經過搜尋,才發現原來是ubuntu不在維護一些老版本的軟體源了,因此無論怎麼設定更新源都會出現錯誤。
因此目前對老版本的ubuntu軟體源應該設定如下:
deb http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted deb http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricted
deb-src http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted
標註:版本的名字很多,如dapper, hardy, jaunty, karmic, lucid, maverick, natty等,可以通過 system-about ubuntu中檢視