============Begin============
sudo cp /etc/apt/sources.list /etc/apt/sources.list-ubuntu-default
sudo cp /etc/apt/sources.list /etc/apt/sources.list-Taiwan-site
sudo cp /etc/apt/sources.list /etc/apt/sources.`date +%Y%m%d`
sudo vi /etc/apt/sources.list-Taiwan-site (刪除舊的列表,加入新的來源站台)
貼上這一段:
##############################################################################
## /etc/apt/sources.list
## use Taiwan sources-list
##############################################################################
# Taiwan Official archive
deb http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
##############################################################################
##### 資料來源網址:http://wiki.ubuntu.org.cn/index.php?title=Qref/Source&variant=zh-tw
##############################################################################
sudo cp -rf /etc/apt/sources.list-Taiwan-site /etc/apt/sources.list
[最後做更新動作]
sudo apt-get update
sudo apt-get -y upgrade ; sync ; sync ; sync ; reboot
============End============
2008年7月11日 星期五
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言