Introduction When installing software in a older version of Ubuntu. When execute apt-get install it gives an error like:
Introduction
When installing software in a older version of Ubuntu.
When execute apt-get install it gives an error like:
When execute apt-get install it gives an error like:
Err http ://no.archive.ubuntu.com natty/restricted Sources 404 Not Found
Steps (3 total)
The repositories for older releases that are not supported (like 11.04, 11.10 and 13.04) get moved to an archive server. There are repositories available at http://old-releases.ubuntu.com
The reason for this is that it is now out of support and no longer receiving updates and security patches.
If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive.ubuntu.com to old-releases.ubuntu.com
The reason for this is that it is now out of support and no longer receiving updates and security patches.
If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive.ubuntu.com to old-releases.ubuntu.com
Execute the following command:
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get dist-upgrade
No comments
Post a Comment