Unable to fetch archives after do-release-upgrade Ubuntu to Trusty

  • Posted July 17, 2014

I recently upgraded my droplet to trusty. apt did all the magic to change sources.list I get the following errrors when i do apt-get dist-upgrade:

Err trusty-security/main linux-image-3.13.0-32-generic amd64 3.13.0-32.57
  404  Not Found [IP: 80]
Err trusty-security/main linux-image-extra-3.13.0-32-generic amd64 3.13.0-32.57
  404  Not Found [IP: 80]
Err trusty-security/main linux-headers-3.13.0-32 all 3.13.0-32.57
  404  Not Found [IP: 80]
Err trusty-security/main linux-headers-3.13.0-32-generic amd64 3.13.0-32.57
  404  Not Found [IP: 80]
E: Failed to fetch  404  Not Found [IP: 80]

E: Failed to fetch  404  Not Found [IP: 80]

E: Failed to fetch  404  Not Found [IP: 80]

E: Failed to fetch  404  Not Found [IP: 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Here is my sources.list:

deb trusty main restricted
deb trusty-updates main restricted
deb trusty universe
deb trusty-updates universe
deb trusty multiverse
deb trusty-updates multiverse
deb trusty-backports main restricted universe multiverse
universe multiverse
deb trusty-security main restricted
deb trusty-security universe
deb trusty-security multiverse

deb-src trusty main restricted
deb-src trusty-updates main restricted
deb-src trusty universe
deb-src trusty-updates universe
deb-src trusty multiverse
deb-src trusty-updates multiverse
deb-src trusty-backports main restricted 
deb-src trusty-security main restricted
deb-src trusty-security universe
deb-src trusty-security multiverse

Why would that error be raised?


Execute the following after adding repositories to /etc/apt/sources.list: sudo apt-get update

Might also execute: sudo apt-get upgrade

If you only want your server to check the added repository once, or occasionally, run the commands, then comment out the repository link, and run them again.

Everyone using Linux will eventually learn the usage of countless commands and the solutions to thousands and thousands of problems via searching Google. Keep organized notes for everything you do. I currently have 9,316 links and pages of Linux notes categorized in directories. Using the “COMMAND /” format as a heading for each subject, command, or task, you can quickly find your hard won solutions in the future using file search and/or case sensitive file content search. This method has served my bad memory well for years.

Some problems may take hours or even days to solve. No one want to repeat such exercises.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you run sudo apt-get update after editing sources.list?