手机
当前位置:查字典教程网 >操作系统 >Ubuntu/Debian >Ubuntu14.10系统非LTS版更新失败不能update该怎么办?
Ubuntu14.10系统非LTS版更新失败不能update该怎么办?
摘要:笔者使用的ubuntu版本是14.10,属于非LTS(长期支持版本),因此前一段时间还可以使用apt-getupdate来更新源,现在已提示...

笔者使用的ubuntu版本是14.10,属于非LTS(长期支持版本),因此前一段时间还可以使用apt-get update来更新源,现在已提示更新失败,无法下载,无法访问了。现提供一种解决思路供大家参考。如网友有其他有效方法,可以一块讨论。

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

Ubuntu14.10系统非LTS版更新失败不能update该怎么办?1

4、输入:sudo gedit /etc/apt/sources.list,打开源列表文件,ctrl+A,然后delete,删除全部内容,然后把下面的地址复制到该文件中

复制内容到剪贴板 debhttp://old-releases.ubuntu.com/ubuntuutopicmainrestricteduniversemultiverse debhttp://old-releases.ubuntu.com/ubuntuutopic-securitymainrestricteduniversemultiverse debhttp://old-releases.ubuntu.com/ubuntuutopic-updatesmainrestricteduniversemultiverse debhttp://old-releases.ubuntu.com/ubuntuutopic-proposedmainrestricteduniversemultiverse debhttp://old-releases.ubuntu.com/ubuntuutopic-backportsmainrestricteduniversemultiverse deb-srchttp://old-releases.ubuntu.com/ubuntuutopicmainrestricteduniversemultiverse deb-srchttp://old-releases.ubuntu.com/ubuntuutopic-securitymainrestricteduniversemultiverse deb-srchttp://old-releases.ubuntu.com/ubuntuutopic-updatesmainrestricteduniversemultiverse deb-srchttp://old-releases.ubuntu.com/ubuntuutopic-proposedmainrestricteduniversemultiverse deb-srchttp://old-releases.ubuntu.com/ubuntuutopic-backportsmainrestricteduniversemultiverse

Ubuntu14.10系统非LTS版更新失败不能update该怎么办?2

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

Ubuntu14.10系统非LTS版更新失败不能update该怎么办?3

6、保存好源列表文件后,进入到终端,一定要再输入以下命令:sudo apt-get update ,来进行更新,会看到没有失败的提示了,转而出现“命中,获取中”等字眼

Ubuntu14.10系统非LTS版更新失败不能update该怎么办?4

【Ubuntu14.10系统非LTS版更新失败不能update该怎么办?】相关文章:

Ubuntu系统上安装使用Glances来监控资源信息

ubuntu 15.04系统怎么安装qq?

Ubuntu 15.04 有宽带却连不上虚拟拨号怎么办?

Ubuntu系统软件安装方式

Ubuntu系统如何安装和配置Git使用Git

Ubuntu 14.04怎使用vsftpd搭建FTP服务?

ubuntu15.04系统怎么使用卸载命令卸载软件?

Ubuntu系统怎么手动进行更新升级?

Ubuntu15.04桌面操作系统怎么安装?

Ubuntu系统中怎么卸载Sublime Text3?

精品推荐
分类导航