Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1317735
  • 博文数量: 168
  • 博客积分: 2124
  • 博客等级: 大尉
  • 技术积分: 2590
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-16 23:51
文章分类

全部博文(168)

文章存档

2014年(6)

2013年(74)

2012年(71)

2011年(17)

分类: LINUX

2012-06-01 22:30:51

1. sudo vi /etc/apt/source.list 或 sudo vim /etc/apt/source.list(注意备份)

2.更换源.注意版本 

3 .sudo apt-get update 

4.apt-get upgrade //这个可以不要,因为这样的话glibc都升级了,不是好事



sudo apt-get install update-manager-core 
sudo do-release-upgrade



原文件备份:sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

你在终端里执行 sudo vi /etc/apt/source.list 或 sudo vim /etc/apt/source.list
换完源之后 更新 sudo apt-get update 
执行完就 sudo apt-get dist-upgrade 普通升级用apt-get upgrade,发行版升级用apt-get dist-upgrade

网易源
搜狐源
官方上海源
厦大源
中科大源
成都电子科大源
北京交大源


ubuntu 11.04 163源 natty
deb /ubuntu/ natty main restricted universe multiverse
deb /ubuntu/ natty-security main restricted universe multiverse
deb /ubuntu/ natty-updates main restricted universe multiverse
deb /ubuntu/ natty-proposed main restricted universe multiverse
deb /ubuntu/ natty-backports main restricted universe multiverse

#deb-src /ubuntu/ natty main restricted universe multiverse
#deb-src /ubuntu/ natty-security main restricted universe multiverse
#deb-src /ubuntu/ natty-updates main restricted universe multiverse
#deb-src /ubuntu/ natty-proposed main restricted universe multiverse
#deb-src /ubuntu/ natty-backports main restricted universe multiverse


ubuntu 10.10 163源
 maverick

deb /ubuntu/ maverick main restricted universe multiverse
deb /ubuntu/ maverick-security main restricted universe multiverse
deb /ubuntu/ maverick-updates main restricted universe multiverse
deb /ubuntu/ maverick-proposed main restricted universe multiverse
deb /ubuntu/ maverick-backports main restricted universe multiverse

#deb-src /ubuntu/ maverick main restricted universe multiverse
#deb-src /ubuntu/ maverick-security main restricted universe multiverse
#deb-src /ubuntu/ maverick-updates main restricted universe multiverse
#deb-src /ubuntu/ maverick-proposed main restricted universe multiverse
#deb-src /ubuntu/ maverick-backports main restricted universe multiverse

ubuntu 10.04 163源 lucid
deb /ubuntu/ lucid main universe restricted multiverse
deb /ubuntu/ lucid-security universe main multiverse restricted
deb /ubuntu/ lucid-updates universe main multiverse restricted
deb /ubuntu/ lucid-proposed universe main multiverse restricted
deb /ubuntu/ lucid-backports universe main multiverse restricted

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

ubuntu 9.10 163源 karmic


deb    /ubuntu/ karmic main restricted universe multiverse
deb    /ubuntu/ karmic-security main restricted universe multiverse
deb    /ubuntu/ karmic-updates main restricted universe multiverse
deb    /ubuntu/ karmic-proposed main restricted universe multiverse
deb    /ubuntu/ karmic-backports main restricted universe multiverse

#deb-src    /ubuntu/ karmic main restricted universe multiverse
#deb-src    /ubuntu/ karmic-security main restricted universe multiverse
#deb-src    /ubuntu/ karmic-updates main restricted universe multiverse
#deb-src    /ubuntu/ karmic-proposed main restricted universe multiverse
#deb-src    /ubuntu/ karmic-backports main restricted universe multiverse

Ubuntu 9.04 163源jaunty

deb /Ubuntu/ jaunty main restricted universe multiverse
deb /Ubuntu/ jaunty-security main restricted universe multiverse
deb /Ubuntu/ jaunty-updates main restricted universe multiverse
deb /Ubuntu/ jaunty-proposed main restricted universe multiverse
deb /Ubuntu/ jaunty-backports main restricted universe multiverse

#deb-src /Ubuntu/ jaunty main restricted universe multiverse
#deb-src /Ubuntu/ jaunty-security main restricted universe multiverse
#deb-src /Ubuntu/ jaunty-updates main restricted universe multiverse
#deb-src /Ubuntu/ jaunty-proposed main restricted universe multiverse
#deb-src /Ubuntu/ jaunty-backports main restricted universe multiverse

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