Ubuntu non-LTS long-term support version can not be updated with Apt-get software source problems
References Link: http://blog.csdn.net/jscese/article/details/39010273
Case
Currently Ubutun version update iterations too fast ~ Regular version of the maintenance period is relatively short, within a year, only the LTS version will be long-term support for 3-5 years.
But for older versions of Ubuntu that are no longer maintained, the old source is officially available for updating and installing software
Operation Steps:
One
First backup Ubuntu Linux source list (also can not backup, add the new address directly behind)
sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup (back up the current source list, be prepared for it)
Two
Modify/etc/apt/sources.list:
$sudo gedit/etc/apt/sources.list
Three
Replace all source addresses with
Http://old-releases.ubuntu.com/ubuntu, be careful not to delete the later system version and classification.
Deb Http://old-releases.ubuntu.com/ubuntu * * * * Main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu ****-security main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu ****-updates main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu ****-proposed main restricted universe multiverse
Deb Http://old-releases.ubuntu.com/ubuntu ****-backports main restricted universe multiverse
DEB-SRC Http://old-releases.ubuntu.com/ubuntu * * * * Main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu ****-security main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu ****-updates main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu ****-proposed main restricted universe multiverse
DEB-SRC http://old-releases.ubuntu.com/ubuntu ****-backports main restricted universe multiverse
You can see the URL is all Http://old-releases.ubuntu.com/ubuntu, where each line of * * * is a version code, such as 13.04 codenamed Raring!
Ubuntu System Version Code:
Ubuntu 6.06-dapper
Ubuntu 6.10-edgy
Ubuntu 7.04-feisty
Ubuntu 7.10-gutsy
Ubuntu 8.04-hardy
Ubuntu 8.10-intrepid
Ubuntu 9.04-jaunty
Ubuntu 9.10-karmic
Ubuntu 10.04-lucid
Ubuntu 10.10-maverick
Ubuntu 11.04-natty
Ubuntu 11.10-oneiric
Ubuntu 12.04-precise
Ubuntu 12.10-quantal
Ubuntu 13.04-raring
Ubuntu 13.10-saucy
Ubuntu 14.04-trusty
Ubuntu 14.10-utopic
Ubuntu 15.04-vivid
Ubuntu 15.10-wily
Ubuntu 16.04-xenial
Ubuntu 16.10-yakkety
Ubuntu 17.04-zesty
Ubuntu 17.10-artful
Ubuntu 18.04-bionic
Four
sudo apt-get update
sudo pat-get upgrade
Update System ~
Ubuntu non-LTS long-term support version can not be updated with Apt-get software source problems