ubuntu旧版本源失效的处理方法

来源:互联网 发布:淘宝比较知名的包包 编辑:程序博客网 时间:2024/04/28 17:36

(1)先备份

cp /etc/apt/sources.list /etc/apt/sources.list_backup

(2)更换源

在ubuntu的网站中,提供了一个源供那些不再提供支持的版本使用:

http://old-releases.ubuntu.com/ubuntu/


在/etc/apt/sources.list中增加下面的源:

deb http://old-releases.ubuntu.com/ubuntu natty maindeb-src http://old-releases.ubuntu.com/ubuntu natty main


(3)更新软件包列表

apt-get update


[文章作者]曾健生

[作者邮箱]h6k65@126.com

[作者QQ]190678908

[新浪微博] @newjueqi

[博客] http://blog.csdn.net/newjueqi

http://blog.sina.com.cn/h6k65


原创粉丝点击