分类: LINUX
2007-07-29 20:04:01
1.)输入:sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup //此为保存当前的源列表
2.)输入:sudo gedit /etc/apt/sources.list //此为编辑源列表
此时会用gedit打开源列表,全选后,复制以下横线之间的内容覆盖原有的全部内容:
-----------------------------------------------------------------------------------------------------------
deb
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb
deb
deb
deb-src
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src
deb-src
deb-src
--------------------------------------------------------------------------------------------------------------
做好这一步之后,保存好编辑过的源后关闭sources.list,然后回到终端,继续输入以下命令:
3.)输入:sudo apt-get update
4.)输入:sudo apt-get dist-upgrade