Chinaunix首页 | 论坛 | 博客
  • 博客访问: 718040
  • 博文数量: 182
  • 博客积分: 2088
  • 博客等级: 大尉
  • 技术积分: 1698
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-16 15:09
个人简介

.

文章分类

全部博文(182)

文章存档

2016年(1)

2015年(18)

2014年(14)

2013年(20)

2012年(129)

分类: LINUX

2012-06-15 17:06:11

通常先备份原先的源:cp /etc/apt/source.list /etc/apt/source.list_bak,后修改/etc/apt/source.list的内容即可
由于办公室和家里的网络不同,所以source.list也就存在差异了,保证源的速度
办公室使用的source.list如下:
deb karmic main multiverse restricted universe
deb karmic-backports main multiverse restricted universe
deb karmic-proposed main multiverse restricted universe
deb karmic-security main multiverse restricted universe
deb karmic-updates main multiverse restricted universe
deb karmic main multiverse restricted universe
deb-src karmic main multiverse restricted universe
deb-src karmic-backports main multiverse restricted universe
deb-src karmic-proposed main multiverse restricted universe
deb-src karmic-security main multiverse restricted universe
deb-src karmic-updates main multiverse restricted universe
deb karmic main restricted universe multiverse
deb karmic-backports restricted universe multiverse
deb karmic-proposed main restricted universe multiverse
deb karmic-security main restricted universe multiverse
deb karmic-updates main restricted universe multiverse
deb-src karmic main restricted universe multiverse
deb-src karmic-backports main restricted universe multiverse
deb-src karmic-proposed main restricted universe multiverse
deb-src karmic-security main restricted universe multiverse
deb-src karmic-updates main restricted universe multiverse
家里的source.list如下:
deb hardy main multiverse restricted universe
deb hardy-backports main multiverse restricted universe
deb hardy-proposed main multiverse restricted universe
deb hardy-security main multiverse restricted universe
deb hardy-updates main multiverse restricted universe
deb-src hardy main multiverse restricted universe
deb-src hardy-backports main multiverse restricted universe
deb-src hardy-proposed main multiverse restricted universe
deb-src hardy-security main multiverse restricted universe
deb-src hardy-updates main multiverse restricted universe
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-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 jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb jaunty-backports main restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb hardy main multiverse restricted universe
deb hardy-backports main multiverse restricted universe
deb hardy-proposed main multiverse restricted universe
deb hardy-security main multiverse restricted universe
deb hardy-updates main multiverse restricted universe
deb-src hardy main multiverse restricted universe
deb-src hardy-backports main multiverse restricted universe
deb-src hardy-proposed main multiverse restricted universe
deb-src hardy-security main multiverse restricted universe
deb-src hardy-updates main multiverse restricted universe
deb jaunty partner
deb jaunty-security partner
deb jaunty-updates partner
deb jaunty-proposed partner
deb-src jaunty partner
deb-src jaunty-security partner
deb-src jaunty-updates partner
deb-src jaunty-proposed partner
修改好后,sudo apt-get update即可
 
最近使用man时,很多无法查看,如man fcntl, man poll,所以更新了一下manpages-dev,glibc-doc
但以上的源很多连接不了,重新更新了一下源
#Ubuntu官方源
deb natty multiverse
deb-src nattymultiverse
deb natty-updatesmultiverse
deb-src natty-updates multiverse
deb http://security.Ubuntu.com/ubuntu natty-security mainrestricted
deb-src http://security.Ubuntu.com/ubuntu natty-securitymain restricted
deb http://security.Ubuntu.com/ubuntu natty-securityuniverse
deb-src http://security.Ubuntu.com/ubuntu natty-securityuniverse
deb http://security.Ubuntu.com/ubuntu natty-securitymultiverse
deb-src http://security.Ubuntu.com/ubuntu natty-securitymultiverse
deb natty partner
deb-src natty partner
#Ubuntu 11.04台湾源(推荐)
deb natty mainuniverse restricted multiverse
deb-src natty mainuniverse restricted multiverse
deb natty-securityuniverse main multiverse restricted
deb-src natty-security universe main multiverse restricted
deb natty-updatesuniverse main multiverse restricted
deb-src natty-updates universe main multiverse restricted
#SRT Sources(速度很快)
deb natty main restricteduniverse multiverse
deb natty-security mainrestricted universe multiverse
deb natty-updates mainrestricted universe multiverse
deb natty-proposed mainrestricted universe multiverse
deb natty-backports mainrestricted universe multiverse
deb-src natty mainrestricted universe multiverse
deb-src natty-security mainrestricted universe multiverse
deb-src natty-updates mainrestricted universe multiverse
deb-src natty-proposed mainrestricted universe multiverse
deb-src natty-backports mainrestricted universe multiverse
阅读(1947) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~