Chinaunix首页 | 论坛 | 博客
  • 博客访问: 831245
  • 博文数量: 97
  • 博客积分: 3042
  • 博客等级: 中校
  • 技术积分: 1610
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-21 11:48
文章存档

2015年(1)

2014年(3)

2013年(4)

2012年(43)

2011年(44)

2010年(2)

分类: LINUX

2011-08-01 16:50:06

编辑Ubuntu源的方法:

     #sudo gedit /etc/apt/sources.list

将文件里的内容全部删除,当然之前也可以用 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak命令的方式进行备份,以备不时之需。然后将下列的内容粘贴进gedit后保存即可。

Ubuntu 10.04源列表:

台湾

代码:
deb lucid main universe restricted multiverse
deb-src lucid main universe restricted multiverse
deb lucid-security universe main multiverse restricted
deb-src lucid-security universe main multiverse restricted
deb lucid-updates universe main multiverse restricted
deb-src lucid-updates universe main multiverse restricted



SRT Sources

代码:
deb lucid main restricted universe multiverse
deb lucid-security main restricted universe multiverse
deb lucid-updates main restricted universe multiverse
deb lucid-proposed main restricted universe multiverse
deb lucid-backports main restricted universe multiverse
deb-src lucid main restricted universe multiverse
deb-src lucid-security main restricted universe multiverse
deb-src lucid-updates main restricted universe multiverse
deb-src lucid-proposed main restricted universe multiverse
deb-src lucid-backports main restricted universe multiverse


网易(速度很快)

代码:
deb lucid main universe restricted multiverse
deb-src lucid main universe restricted multiverse
deb lucid-security universe main multiverse restricted
deb-src lucid-security universe main multiverse restricted
deb lucid-updates universe main multiverse restricted
deb lucid-proposed universe main multiverse restricted
deb-src lucid-proposed universe main multiverse restricted
deb lucid-backports universe main multiverse restricted
deb-src lucid-backports universe main multiverse restricted
deb-src lucid-updates universe main multiverse restricted




ubuntu官方上海源,提供 Kernel,Hiweed,ubuntu

代码:
deb lucid main universe restricted multiverse
deb-src lucid main universe restricted multiverse
deb lucid-security universe main multiverse restricted
deb-src lucid-security universe main multiverse restricted
deb lucid-updates universe main multiverse restricted
deb lucid-proposed universe main multiverse restricted
deb-src lucid-proposed universe main multiverse restricted
deb lucid-backports universe main multiverse restricted
deb-src lucid-backports universe main multiverse restricted
deb-src lucid-updates universe main multiverse restricted



搜狐

代码:
deb lucid main universe restricted multiverse
deb-src lucid main universe restricted multiverse
deb lucid-security universe main multiverse restricted
deb-src lucid-security universe main multiverse restricted
deb lucid-updates universe main multiverse restricted
deb lucid-proposed universe main multiverse restricted
deb-src lucid-proposed universe main multiverse restricted
deb lucid-backports universe main multiverse restricted
deb-src lucid-backports universe main multiverse restricted
deb-src lucid-updates universe main multiverse restricted



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

代码:

deb lucid main universe restricted multiverse
deb-src lucid main universe restricted multiverse
deb lucid-security universe main multiverse restricted
deb-src lucid-security universe main multiverse restricted
deb lucid-updates universe main multiverse restricted
deb lucid-proposed universe main multiverse restricted
deb-src lucid-proposed universe main multiverse restricted
deb lucid-backports universe main multiverse restricted
deb-src lucid-backports universe main multiverse restricted
deb-src lucid-updates universe main multiverse restricted

保存后输入下面的指令刷新源信息:

     #sudo apt-get update

然后输入:

    #sudo apt-get upgrade

就可以进行系统升级了。

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