Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5202591
  • 博文数量: 553
  • 博客积分: 13864
  • 博客等级: 上将
  • 技术积分: 11041
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-28 21:25
个人简介

个人Blog: hhktony.com

文章分类

全部博文(553)

文章存档

2015年(1)

2014年(2)

2013年(12)

2012年(384)

2011年(154)

分类: LINUX

2011-12-25 21:26:18

1.在终端执行以下命令:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 
  (备份现有服务器列表)
sudo gedit /etc/apt/sources.list                                        (使用Gedit编辑更新源文件)

    2.复制以下网易163更新服务器,覆盖sources.list里的所有内容:
deb jaunty main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-backports 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-proposed main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
    保存!

    3.更新源列表:
sudo apt-get update

附:
1.sudo apt-get dist-upgrade #更新软件,如果对新版本软件的需求不是那么迫切,可以不执行;

2.教育网源(中国科学技术大学):
deb hardy main restricted universe multiverse
deb hardy-backports restricted universe multiverse
deb hardy-proposed main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
deb-src hardy-proposed main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
阅读(2307) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~