2011年11月21日 星期一

Ubuntu 9.04 鏡像站台更新

Ubuntu 在版本結束後, 隨之原本的鏡像站台也跟著關閉轉移, 所以在 apt-get update 會出現 Fail, 修改成轉移的站台即可..

1. Make a backup copy of your current sources.list (probably not needed, but just in case...). Open up a terminal, run this command:

Code:
cp /etc/apt/sources.list ~/sources.list.backup
2. Run this command:
Code:
gksudo gedit /etc/apt/sources.list
Replace the entire contents of the file with this:
Code:
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse
#deb http://old-releases.ubuntu.com/ubuntu/ jaunty-proposed main restricted universe multiverse
#deb http://old-releases.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multive