Ubuntu的更新源


Ubuntu的apt是很好用的功能,让我们的安装软件非常简单,一条命令就能升级,实在是太方便了。而且Ubuntu有很多的更新源服务器,可以满足不同的用户不同的需要。

但是一定要清楚,哪些源是用来升级版本的,哪些源是用来升级软的。在终端里面输入:

sudo update-manager -d

可以打开版本升级,比如从8.04升级到8.10,但是这个要注意,更新源服务器一定要有新版本才可以升级,所以说,Ubuntu的升级源是非常重要的。有时候使用apt-get install命令会发现说没有这个软件,那么很可能是更新源不对,或者是更新源服务器软件不全。我这里推荐的是Ubuntu的官方源,我用着速度还可以,几十K左右吧,又一次我升级的时候达到了1M多,把我震惊的目瞪口呆。

deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

想要修改apt的升级源也很简单,打开/etc/apt/sources.list文件,将新的源拷贝进去就可以了,一定要注意后面的版本代号,版本不同可能升级出问题。我上面提供的是8.10版本的,这个版本还没有最终放出,大概要在30号左右才行,现在是测试版本。

更新源不要太多,一个就够了,如果速度太慢,可以换其他的,但是最好不要两个并存。


版权信息:本文来自老杨个人网站,作者老杨原文地址,转载请注明出处。

如果喜欢本站,敬请订阅:老杨个人网站。谢谢惠顾!


分类: Ubuntu
标签: , , ,

前3排已经被占了我要占座

  1. 不知道这次微软的正版手段会不会让一部分尝试新系统呢?

    回复Ta

    回复Akay: 那玩意已经有破解了…

    回复Ta

    回复Akay: 哈哈,对啊,微软的正版手段是什么都不知道,破解方法都已经出来了。我佩服死那些专家了 :emotion515

    回复Ta

:emotion58 :emotion57 :emotion563 :emotion562 :emotion561 :emotion560 :emotion56 :emotion559 :emotion558 :emotion557 :emotion556 :emotion554 :emotion552 :emotion551 :emotion550 :emotion55 :emotion547 :emotion546 :emotion544 :emotion543 :emotion542 :emotion541 :emotion540 :emotion54 :emotion539 :emotion538 :emotion537 :emotion536 :emotion535 :emotion534 :emotion533 :emotion532 :emotion531 :emotion530 :emotion53 :emotion529 :emotion526 :emotion525 :emotion524 :emotion523 :emotion522 :emotion521 :emotion520 :emotion52 :emotion519 :emotion518 :emotion517 :emotion516 :emotion515 :emotion514 :emotion513 :emotion512 :emotion511 :emotion510 :emotion51 :emotion119 :emotion113