1.
sudo cp /etc/apt/sources.list /etc/apt/source.list.bk
sudo gedit /etc/apt/sources.list
编辑你的源列表,将原来的内容全部删除,添加下面列表中最适合你的源(163,台湾的速度比较快)
2.
sudo apt-get update 更新源列表信息
可以在运行“sudo apt-get update ”时查看一下错误信息,把不能连接的源删除再重新运行
“sudo apt-get update ”。
3.
sudo apt-get upgrade 升级
或者用ubuntu自带的更新管理器升级也可
- #台湾源
- deb http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
- deb-src http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
- deb http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
- deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
- deb http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
- deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
-
-
- #网易 (速度很快)
- deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
- deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
- deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
- deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
- deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
- deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
- deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
- deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
- deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
- deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
-
-
- #骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin
- deb http://ubuntu.srt.cn/ubuntu/ precise main universe restricted multiverse
- deb-src http://ubuntu.srt.cn/ubuntu/ precise main universe restricted multiverse
- deb http://ubuntu.srt.cn/ubuntu/ precise-security universe main multiverse restricted
- deb-src http://ubuntu.srt.cn/ubuntu/ precise-security universe main multiverse restricted
- deb http://ubuntu.srt.cn/ubuntu/ precise-updates universe main multiverse restricted
- deb http://ubuntu.srt.cn/ubuntu/ precise-proposed universe main multiverse restricted
- deb-src http://ubuntu.srt.cn/ubuntu/ precise-proposed universe main multiverse restricted
- deb http://ubuntu.srt.cn/ubuntu/ precise-backports universe main multiverse restricted
- deb-src http://ubuntu.srt.cn/ubuntu/ precise-backports universe main multiverse restricted
- deb-src http://ubuntu.srt.cn/ubuntu/ precise-updates universe main multiverse restricted
-
-
- #mirror.lupaworld.com的源,速度很快
- deb http://mirror.lupaworld.com/ubuntu/archive/ precise main restricted universe multiverse
- deb http://mirror.lupaworld.com/ubuntu/archive/ precise-security main restricted universe multiverse
- deb http://mirror.lupaworld.com/ubuntu/archive/ precise-updates main restricted universe multiverse
- deb http://mirror.lupaworld.com/ubuntu/archive/ precise-backports main restricted universe multiverse
- deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ precise main restricted universe multiverse
-
-
-
- #ubuntu.cn99.com源(推荐):
- 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
-
-
- //教育网源
- 如果你是在校大学生,可以使用校园网/教育网,就是用教育网的资源吧,中科大,兰大、厦门大学都有很多资源,尤其是支持ipv6的,那更新速度就按兆算了。
- 中科大:http://mirrors.ustc.edu.cn/
- 厦门大学:http://mirrors.xmu.edu.cn/howto/
-
-
-
- #电子科技大学
- deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
- deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
- deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
- deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
- deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
-
-
- #中国科技大学
- deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
- deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse
- deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
- deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
- deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
- deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
- deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
- deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
- deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
- deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
-
-
- #北京理工大学
- deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
- deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
- deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
- deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
- deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
- deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
- deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
- deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
- deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
- deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
-
-
- #兰州大学
- deb ftp://mirror.lzu.edu.cn/ubuntu/ precise main multiverse restricted universe
- deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
- deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
- deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
- deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
- deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe
-
-
- #上海交通大学
- deb http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
- deb http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
- deb http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
- deb http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
- deb http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
- deb http://ftp.sjtu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe
- deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
- deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
- deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
- deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
- deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
相关热门文章
给主人留下些什么吧!~~
评论热议