Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1669061
  • 博文数量: 174
  • 博客积分: 5493
  • 博客等级: 上校
  • 技术积分: 5802
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-05 15:13
个人简介

炼狱,是为追逐光芒

文章分类

全部博文(174)

文章存档

2017年(1)

2016年(3)

2015年(9)

2014年(5)

2013年(23)

2012年(56)

2011年(45)

2010年(32)

分类: LINUX

2010-10-08 14:36:37

1.sudo cp /etc/apt/sources.list  /etc/apt/source.list.bk

  sudo gedit /etc/apt/sources.list

 编辑你的源列表,将原来的内容全部删除,添加下面列表中最适合你的源

2.sudo apt-get update 更新源列表信息

 可以在运行“sudo apt-get update ”时查看一下错误信息,把不能连接的源删除再重新运行

“sudo apt-get update ”
3.sudo apt-get upgrade

 或者用ubuntu自带的更新管理器升级也可

 

1.台湾

deb http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse

deb http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted

deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted

deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted

2.网易

deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse

deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted

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

deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted

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

deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted

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

3. SRT Sources

SRT Sources
代码:
deb http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse

 

4.ubuntu官方上海源

deb http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse

deb-src http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse

deb http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted

deb http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted

deb http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted

 

5.搜狐

deb http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse

deb-src http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse

deb http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted

deb http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted

deb http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted

 

6.骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin

deb http://ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse

deb http://ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted

deb http://ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted

deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted

deb http://ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted

deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted


阅读(1375) | 评论(0) | 转发(0) |
0

上一篇:内存分配函数

下一篇:vi文件配置

给主人留下些什么吧!~~