Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
32
rated 0 times [  32] [ 0]  / answers: 1 / hits: 53739  / 2 Years ago, tue, august 23, 2022, 1:00:54

I'm trying to update a Ubuntu server and when I run apt-get update I get a number of errors like the examples below (note I added some space after http).



Err http  ://no.archive.ubuntu.com natty/main Sources  404  Not Found
Err http ://no.archive.ubuntu.com natty/restricted Sources 404 Not Found


AND



W: Failed to fetch http  ://no.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources  404  Not Found
W: Failed to fetch http ://no.archive.ubuntu.com/ubuntu/dists/natty/restricted/source/Sources 404 Not Found

I tried to replace all occurrences of http ://no.archive.ubuntu.com/ with http ://archive.ubuntu.com/


But seems all of these archives are gone...



Version of Ubuntu:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty



How can I cleanup this mess?
Thanx for any help!
j


More From » 11.04

 Answers
7

I assume the problem is because you are using a relatively old release of Ubuntu. A possible fix would be to open the /etc/apt/sources.list file with an editor of your choice
.Change all (xx.)archive.ubuntu.com to old-releases.ubuntu.com.. In your case an example would be ://archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources becomes



://old-releases.ubuntu.com/ubuntu/dists/natty/main/source/Sources


after this, you can try running sudo apt-get update



For you to update your release,you need update-manager-core(sudo apt-get install update-manager-core) and then sudo do-release-upgrade but this will update you to the next release and has to be repeated until you reach say 12.04 LTS which has Long Term Support.


[#29465] Wednesday, August 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rinstracte

Total Points: 221
Total Questions: 114
Total Answers: 120

Location: France
Member since Fri, Jan 28, 2022
2 Years ago
rinstracte questions
Wed, Jun 15, 22, 02:09, 2 Years ago
Tue, Jan 24, 23, 01:39, 1 Year ago
Wed, Jun 9, 21, 04:34, 3 Years ago
Sun, Apr 17, 22, 11:38, 2 Years ago
;