Linux中源的更新,当我们sudo apt-get update的时候会出现无法更新的情况或者是装软件的时候出现无法安装的情况,那么这时候该怎么办呢,我们就应该更新源sourse了。
首先我们在终端中输入命令:cd /etc/apt
dum@dum-ThinkPad-E425:~$ cd /etc/apt
dum@dum-ThinkPad-E425:/etc/apt$ ls
apt.conf.d secring.gpg sources.list.d trusted.gpg
old sources.list sources.list.distUpgrade trusted.gpg~
preferences.d sources.list~ trustdb.gpg trusted.gpg.d
dum@dum-ThinkPad-E425:/etc/apt$
我们看到有个sources.list文件,我们只要把里面的内容该一下就好了,可以该的下面提供一些源:
Ubuntu 官方源 推荐北方网通用户添加
deb gutsy main restricted universe multiverse
deb gutsy-security main restricted universe multiverse
deb gutsy-updates main restricted universe multiverse
deb gutsy-proposed main restricted universe multiverse
deb gutsy-backports main restricted universe multiverse
deb-src gutsy main restricted universe multiverse
deb-src gutsy-security main restricted universe multiverse
deb-src gutsy-updates main restricted universe multiverse
deb-src gutsy-proposed main restricted universe multiverse
deb-src gutsy-backports main restricted universe multiverse
台湾的官方源速度也相当不错,有时甚至快于内地的:
deb gutsy main restricted universe multiverse
deb gutsy-security main restricted universe multiverse
deb gutsy-updates main restricted universe multiverse
deb gutsy-backports main restricted universe multiverse
deb gutsy-proposed main restricted universe multiverse
deb-src gutsy main restricted universe multiverse
deb-src gutsy-security main restricted universe multiverse
deb-src gutsy-updates main restricted universe multiverse
deb-src gutsy-backports main restricted universe multiverse
deb-src gutsy-proposed main restricted universe multiverse
再加个中国电信源科技大学的源(能用速度还不 错)
deb intrepid main restricted universe multiverse
deb intrepid-backports main restricted universe multiverse
deb intrepid-proposed main restricted universe multiverse
deb intrepid-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb-src intrepid main restricted universe multiverse
deb-src intrepid-backports main restricted universe multiverse
deb-src intrepid-proposed main restricted universe multiverse
deb-src intrepid-security main restricted universe multiverse
deb-src intrepid-updates main restricted universe multiverse
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#传说中的北京交大 速度 2M/s
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#传说中的上海交通大学,最热门的源之一
deb jaunty main multiverse restricted universe
deb jaunty-backports main multiverse restricted universe
deb jaunty-proposed main multiverse restricted universe
deb jaunty-security main multiverse restricted universe
deb jaunty-updates main multiverse restricted universe
deb jaunty main multiverse restricted universe
deb-src jaunty main multiverse restricted universe
deb-src jaunty-backports main multiverse restricted universe
deb-src jaunty-proposed main multiverse restricted universe
deb-src jaunty-security main multiverse restricted universe
deb-src jaunty-updates main multiverse restricted universe
电信网:
deb jaunty main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
deb jaunty-backports main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb jaunty-proposed main multiverse restricted universe
deb-src jaunty-proposed main restricted universe multiverse
阅读(12555) | 评论(0) | 转发(1) |