When the Ubuntu version used expires, the source is no longer updated. Then using apt-get to get the software will not find the source.
In fact, Ubuntu has an old version of the source, this question in ask Ubuntu has a high-ticket answer.
The supported old version has a list on the old-releases.ubuntu.com. The process for updating the source is as follows:
View the system's codename and version information by command Lab_release .
Then edit the /etc/apt/sources.list file and replace the codename in the file with the code of your system.
Deb http://old-releases.ubuntu.com/ubuntu/ codename Main Universe restricted multiverseDEB-SRC http://old-releases.ubuntu.com/ubuntu/ codename Main Universe restricted multiverseDeb http://old-releases.ubuntu.com/ubuntu/ codename-security Universe main Multiverse restrictedDEB-SRC http://old-releases.ubuntu.com/ubuntu/ codename-security Universe main Multiverse restrictedDeb http://old-releases.ubuntu.com/ubuntu/ codename-updates Universe main Multiverse restrictedDeb http://old-releases.ubuntu.com/ubuntu/ codename-proposed Universe main Multiverse restrictedDEB-SRC http://old-releases.ubuntu.com/ubuntu/ codename-proposed Universe main Multiverse restrictedDeb http://old-releases.ubuntu.com/ubuntu/ codename-backports Universe main Multiverse restrictedDEB-SRC http://old-releases.ubuntu.com/ubuntu/ codename-backports Universe main Multiverse restrictedDEB-SRC http://old-releases.ubuntu.com/ubuntu/ codename-updates Universe main Multiverse restricted
Finally, execute sudo apt-get update to get the update.
Ubuntu Old release Repository