1.Ubuntu为什么要更新源?
为刚安装系统时已安装的软件不多,更多的软件在远程服务器上。
更新源就是获得软件源的数据库,差不多等于一份软件清单。
最新版的内核没有了。启动用的脚本改变了。其实如果装好系统的软件够用,
你又不是太喜欢更新的话,完全不予理会,只不过这里很多人都是玩家而已,因为默认的源很慢
2.查看ubuntu版本
# cat /etc/issue
3.网络查找对应版本的更新源
Ubuntu8.10更新源:
#Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):
deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
4.备份原来的source.list
#cd /etc/apt/
#cp ./sourse.list ./sourse_old.list
5.终端输入
#sudo gedit /etc/apt/sourse.list
删除里面的地址,将新的ubuntu8.10的更新源贴粘进去。
6.更新操作
#apt-get update
(执行完后接着执行)
#apt-get dist-upgrade