1、先备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表,有备无患嘛)
2、修改更新源
sudo gedit /etc/apt/sources.list (打开Ubuntu 8.04源列表文件)
在最下面加入
deb https://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb https://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb https://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb https://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb https://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src https://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src https://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src https://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src https://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src https://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
3、通知 ubuntu 8.40 启用新的更新源
sudo apt-get update
—-想了解更多的linux相关异常处理怎么解决关注<计算机技术网(www.ctvol.com)!!>
本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。
ctvol管理联系方式QQ:251552304
本文章地址:https://www.ctvol.com/uncategorized/51119.html