I was applying updates to my AWS Ubuntu 14.04 servers. I used this command:
sudo apt-get update
It work for all of them, except one server.
I get this error at the end:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
I tried to do an upgrade. I ran this:
# sudo apt-get upgrade
I saw this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
lxc-docker
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
What should I do to get the updates to apply?
grep raring /etc/apt/sources.list* -R
, find the offending entries and remove them. – muru May 14 '15 at 04:57