2

Install software or upgrade from an old unsupported release

 3 years ago
source link: https://www.laravelcode.com/post/install-software-or-upgrade-from-an-old-unsupported-release
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Install software or upgrade from an old unsupported release

  205 views

  1 month ago

Ubuntu

If you have old computers, then it is good option to install light Linux distribution like Lubuntu or Xubuntu. If you have installed the old Ubuntu version which is  Whenever you try to install softwares, you will get an error "Couldn't find package firefox"

$ sudo apt-get install firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package firefox

This is because repositories for older releases are not supported. The repositories are moved to an archive server. There are repositories available at http://old-releases.ubuntu.com.

To change repositories url in server, run the below command in Terminal.

sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

This will change archive.ubuntu.com and security.ubuntu.com to old-releases.ubuntu.com in /etc/apt/sources.list file.

then update repositories with command:

sudo apt-get update && sudo apt-get dist-upgrade

Once you have performed the above steps to switch to the old-releases mirrors, update the Update Manager and then do do-release-upgrade:

sudo apt-get update
sudo apt-get install ubuntu-release-upgrader-core
sudo do-release-upgrade

Though it is advised not to use unsupported versions as there is no security updates but you can still use them and enjoy old nostalgic feeling.

Author : Harsukh Makwana
Harsukh Makwana

Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK