关于非LTS版Ubuntu系统无法update的解决方法

 时间:2026-02-13 20:15:59

1、Ubutun版本的更新比较快,目前只有10.04,12.04,14.04,以及后续的16.04会支持长期维护,时间长达3-5年,而其他常规版本的维护期比较短,基本是一年以内。

而笔者使用的14.10,已经停止更新了好一段时间,因为平时用的还可以,所以也就没怎么更新,直到今天要安装一些东西了,才发现update不能用了。

2、在网上找了很多Ubuntu14.10对应的源的列表,然后把它们加入到了系统的源列表中,可还是不行。但是,所有停止维护的版本都可以使用old源。所以在元列表中把原来的地址改为带有old源的就可以了。

3、首先,备份系统中的源列表,打开终端,输入

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

关于非LTS版Ubuntu系统无法update的解决方法

4、输入

sudo gedit /etc/apt/sources.list

打开源列表文件,ctrl+A,然后delete,删除全部内容

然后把下面的地址复制到该文件中

deb http://old-releases.ubuntu.com/ubuntu utopic main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu utopic-security main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu utopic-updates main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu utopic-proposed main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu utopic main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu utopic-security main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu utopic-updates main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu utopic-proposed main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse

关于非LTS版Ubuntu系统无法update的解决方法

5、需要注意的是上面地址中的 utopic是ubuntu系统版本的名称,我的ubuntu系统是14.10,对应的版本名称是utopic。只要把这里的utopic换车你自己系统版本的名称即可,如果不知道版本名称的话,可以运行以下命令获得

lsb_release -a

其中,Codename就是了。

关于非LTS版Ubuntu系统无法update的解决方法

6、保存好源列表文件后,进入到终端,一定要再输入以下命令

sudo apt-get update

来进行更新,会看到没有失败的提示了,转而出现“命中,获取中”等字眼

关于非LTS版Ubuntu系统无法update的解决方法

  • 如何给ubuntu虚拟机添加一个新的分区
  • deepin linux下怎么安装使用locate进行文件搜索
  • 使用SecureCRT链接linux、ubuntu系统
  • ubuntu16.04彻底卸载fcitx输入法
  • Ubuntu18.04安装中文输入法
  • 热门搜索
    精华液有什么用 apqp是什么意思 windy什么意思啊 胶原蛋白什么时候喝 什么运动对肾好 大黄的作用与功效 何什么君 汹涌澎湃的意思 泡酒用什么酒 祭祀是什么意思