Chinaunix首页 | 论坛 | 博客
  • 博客访问: 559886
  • 博文数量: 107
  • 博客积分: 5229
  • 博客等级: 大校
  • 技术积分: 1158
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-08 10:50
文章分类
文章存档

2015年(1)

2014年(1)

2012年(5)

2011年(22)

2010年(12)

2009年(13)

2008年(34)

2007年(19)

我的朋友

分类: LINUX

2008-07-27 21:42:40

(亲自试过非常好用 而且没有错误!!!)

1 首先备份源列表
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

2 而后用gedit或其他编辑器打开
 gksu gedit /etc/apt/sources.list
kdesu kate /etc/apt/sources.list
gksu mousepad /etc/apt/sources.list
gksu gedit /etc/apt/sources.list

注意:一定要选对版本 这个是8.04的

deb hardy main restricted universe multiverse

deb hardy-security main restricted universe multiverse

deb hardy-updates main restricted universe multiverse

deb hardy-proposed main restricted universe multiverse

deb hardy-backports main restricted universe multiverse

deb-src hardy main restricted universe multiverse

deb-src hardy-security main restricted universe multiverse

deb-src hardy-updates main restricted universe multiverse

deb-src hardy-proposed main restricted universe multiverse

deb-src hardy-backports main restricted universe multiverse

deb hardy main restricted universe multiverse

deb hardy-security main restricted universe multiverse

deb hardy-updates main restricted universe multiverse

deb hardy-backports main restricted universe multiverse

deb hardy-proposed main restricted universe multiverse

deb-src hardy main restricted universe multiverse

deb-src hardy-security main restricted universe multiverse

deb-src hardy-updates main restricted universe multiverse

deb-src hardy-backports main restricted universe multiverse

deb-src hardy-proposed main restricted universe multiverse

deb hardy main restricted universe multiverse

deb hardy-security main restricted universe multiverse

deb hardy-updates main restricted universe multiverse

deb hardy-proposed main restricted universe multiverse

deb hardy-backports main restricted universe multiverse

deb-src hardy main restricted universe multiverse

deb-src hardy-security main restricted universe multiverse

deb-src hardy-updates main restricted universe multiverse

deb-src hardy-proposed main restricted universe multiverse

deb-src hardy-backports main restricted universe multiverse


3然后,刷新
sudo apt-get update

同时可以升级系统
apt-get dist-upgrade

一切OK了
阅读(1055) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~