ubuntu10.10 更新源

1、更换源之前首先做一下备份:

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

2、执行sudo gedit /etc/apt/sources.list,删除其中的内容,添加

 

deb http://mirrors.163.com/ubuntu / maverick main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ maverick-updates universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ maverick-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ maverick-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ maverick-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ maverick main universe restricted multiverse

 

3、sudo apt-get update 更新源列表信息

 

4、sudo apt-get upgrade 升级



你可能感兴趣的:(ubuntu10.10 更新源)