Ubuntu 12 04 國內更新源列表

2021-06-22 04:35:06 字數 2638 閱讀 1004

1、首先備份ubuntu 11.10源列表

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (備份下當前的源列表)

2、修改更新源

sudo gedit /etc/apt/sources.list

#台灣源

deb precise main universe restricted multiverse

deb-src precise main universe restricted multiverse

deb precise-security universe main multiverse restricted

deb-src precise-security universe main multiverse restricted

deb precise-updates universe main multiverse restricted

deb-src precise-updates universe main multiverse restricted

#網易源(速度很快)

deb precise main universe restricted multiverse

deb-src precise main universe restricted multiverse

deb precise-security universe main multiverse restricted

deb-src precise-security universe main multiverse restricted

deb precise-updates universe main multiverse restricted

deb precise-proposed universe main multiverse restricted

deb-src precise-proposed universe main multiverse restricted

deb precise-backports universe main multiverse restricted

deb-src precise-backports universe main multiverse restricted

deb-src precise-updates universe main multiverse restricted

#電子科技大學

deb precise main restricted universe multiverse

deb precise-backports main restricted universe multiverse

deb precise-proposed main restricted universe multiverse

deb precise-security main restricted universe multiverse

deb precise-updates main restricted universe multiverse

deb-src precise main restricted universe multiverse

deb-src precise-backports main restricted universe multiverse

deb-src precise-proposed main restricted universe multiverse

deb-src precise-security main restricted universe multiverse

deb-src precise-updates main restricted universe multiverse

#北京理工大學(真羨慕劉毅同學)

deb precise main multiverse restricted universe

deb precise-backports main multiverse restricted universe

deb precise-proposed main multiverse restricted universe

deb precise-security main multiverse restricted universe

deb precise-updates main multiverse restricted universe

deb-src precise main multiverse restricted universe

deb-src precise-backports main multiverse restricted universe

deb-src precise-proposed main multiverse restricted universe

deb-src precise-security main multiverse restricted universe

deb-src precise-updates main multiverse restricted universe

3、儲存後就是

sudo apt-get update

sudo apt-get upgrade

ubuntu12 04 更新源(網易163)

1.備份 sudo cp etc apt sources.list etc apt sources.list.backup 2.修改 sudo gedit etc apt sources.list清空已有,粘帖下面內容 deb precise main restricteddeb src preci...

ubuntu 1204 使用更快的更新源

裝好ubuntu系統後的第一見事就是替換自帶的更新源,原因是系統自帶的源有些在中國訪問不了,可以訪問的速度又特別慢。備份sources.list檔案 cp etc apt sources.list etc apt sources.list.backup 開啟sources.list 開啟之前最好是安...

ubuntu12 04國內軟體源

163源 deb precise main restricted deb src precise main restricted deb precise updates main restricted deb src precise updates main restricted deb preci...