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

.

文章分类

全部博文(182)

文章存档

2016年(1)

2015年(18)

2014年(14)

2013年(20)

2012年(129)

分类:

2012-12-21 22:30:49

原文地址:ubuntu 网易163源 作者:好喜儿

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

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