Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6319865
  • 博文数量: 2759
  • 博客积分: 1021
  • 博客等级: 中士
  • 技术积分: 4091
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-11 14:14
文章分类

全部博文(2759)

文章存档

2019年(1)

2017年(84)

2016年(196)

2015年(204)

2014年(636)

2013年(1176)

2012年(463)

分类:

2012-11-08 13:00:15

原文地址:Linux中源的更新 作者:hfm_honey

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

阅读(580) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~