Some index files failed to download, they have been ignored, or old ones used instead.

Asked by drub

"apt-get update" has been working without incident for months.

A few days ago this message is being reported:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/edgy-security/universe/binary-i386/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.

I examined the URL location. Indeed, there is no such directory. There is a "hardy-security" directory.

There are hardy lines in /etc/apt/sources.list:
deb http://security.ubuntu.com/ubuntu hardy-security main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted

Since the system is configured with 8.04, Hardy, can the "edgy-security" entries simply be removed? Is this a valid fix?

Description: Ubuntu 8.04.1
Release: 8.04

apt:
  Installed: 0.7.9ubuntu17
  Candidate: 0.7.9ubuntu17
  Version table:
 *** 0.7.9ubuntu17 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Alan Pope 🍺🐧🐱 πŸ¦„
Solved:
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#1

This isn't a bug as such.

Revision history for this message
Best Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#2

There should not be any entries in sources.list which refer to edgy (or indeed any other previous release of Ubuntu).

The reason for the 404 is because since edgy is now no longer in support, it has moved form archive.ubuntu.com to old-releases.ubuntu.com.

Revision history for this message
drub (drub) said :
#3

Excellent. Thank you.