Ubuntu cannot be updated with Apt-get, software source Update (non-LTS long support version)

Source: Internet
Author: User

Ubutun version update iteration is too fast ~ regular version of the maintenance period is relatively short, basic within one year, only like 10.04,12.04,14.04 and later 16.04 Will support the 3-5 year long.

Last year installed the latest 13.04 has stopped maintenance for several months, previously found no updates and no tube, the following want to install some software to find the source has been invalid.

After a long time to find a way, all stop maintenance version can use old source.

Writing is not easy, reproduced please indicate the source: http://blog.csdn.net/jscese/article/details/39010273

1, first backup Ubuntu 11.04 source list

sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup (the current source list under Backup) 2, modify the /etc/apt/sources.list:

$sudo gedit /etc/apt/sources.list

Replace all source addresses with Http://old-releases.ubuntu.com/ubuntu, and be careful not to delete the following system versions and categories.

Deb Http://old-releases.ubuntu.com/ubuntu raring main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu raring-security main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu raring-updates main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu raring-proposed main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu raring-backports main restricted universe multiverse
DEB-SRC Http://old-releases.ubuntu.com/ubuntu raring main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu raring-security main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu raring-updates main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu raring-proposed main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu raring-backports main restricted universe multiverse
Can see the URL is all Http://old-releases.ubuntu.com/ubuntu, where each line of raring for version code, 13.04 code-named raring.

Other versions of the source can be copy above the original sources.list and then change to their corresponding version code.

sudo apt-get update
sudo pat-get upgrade

Update System ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.