deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
或者下載html
http://mirrors.163.com/.help/sources.list.trusty替換/etc/apt/sources.listubuntu
具體步驟:rest
默認ubuntu14.04 destktop版沒有安裝wget 可先安裝下wgetcode
sudo apt-get install wget
而後切換到/etc/apt目錄下htm
cd /etc/apt
將系統默認的配置文件重命名get
sudo mv /etc/apt/sources.list /etc/apt/sources.list.default
而後將下載的sources.list.trusty,放到/etc/apt/sources.listit
sudo wget http://mirrors.163.com/.help/sources.list.trusty
重命名sed
sudo mv sources.list.trusty sources.list
sudo apt-get update
http://mirrors.163.com/.help/ubuntu.htmlubuntu14.04