Page Nav

HIDE

Grid

GRID_STYLE

[Ubuntu] Install software or upgrade from an old unsupported release

Introduction When installing software in a older version of Ubuntu. When execute apt-get install it gives an error like:

Image result for ubuntu

Introduction

When installing software in a older version of Ubuntu.
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)

1

Older releases are not supported

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
2

Update repositories to older releases

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
3

Update SO

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

No comments