1.可選 備份
ubuntu
cp /etc/apt/sources.list /etc/apt/sources.list.backupide
2.修改更新源spa
vi /etc/apt/sources.listrest
3.替換其中內容code
ubuntu.cn99.com源(推薦):blog
deb http://ubuntu.cn99.com/ubuntu/ precise main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ precise-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ precise-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ precise-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ precise main restricted universe multiverse
4.更新源ci
apt-get update
get