0 投票
备份源列表文件

cd /etc/apt

sudo cp sources.list sources.list_backup

编辑源列表文件

sudo vim /etc/apt/sources.list

全部删除

15.04添加如下

deb http://123.15.57.34/ubuntu/ vivid main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ vivid-security main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ vivid-updates main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ vivid main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ vivid-backports main restricted universe multiverse

 

14.04版本 添加如下

deb http://123.15.57.34/ubuntu/ trusty main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ trusty-security main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ trusty-updates main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://123.15.57.34/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ trusty main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://123.15.57.34/ubuntu/ trusty-backports main restricted universe multiverse

同理

14.10 将上述列表地址中的 vivid 替换为 utopic 即可

12.04 将上述列表地址中的 vivid 替换为 precise 即可

当然 如上是外网 ,如果是校园网用户 按将地址换为10.66.0.111

 

当然,当以后DNS配置好后,可以讲上面地址 替换为:

http://mirrors.zzu.edu.cn/ubuntu/

就行了
最新提问 分类:Wiki | 用户: (11.8k 分)
修改于 用户:

1个回答

0 投票
How to configure the zzu source if I use Ubutnu 14.4 LTS?
最新回答 用户:
it does not work now
...