I get errors running sudo apt-get update Ubuntu 14.04, pls help

The error messages after the update run is:

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

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

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

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

Any help appreciated…

Thank you

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

This comment has been deleted


If you would, please try running:

rm -rf /var/lib/apt/lists/*

Once ran, please try running apt-get update once again. Generally, that’ll solve the issue, as long as the repositories in your sources.list file are correct and have not been modified.

When running do-release-upgrade, you generally need to modify the source repositories so that the command pulls from the release you want to upgrade to. This isn’t generally a command I would run on a production server though as it can have some unintended side effects and require quite a bit of troubleshooting.

When it comes to major releases, such as upgrading from 14.04 to 16.04, it’s often best to deploy a new server with 16.04 and migrate data over to it. It’s a bit of a manual process, though it’ll ensure everything runs smoothly.

You’re using Debian repos on Ubuntu and you haven’t replaced codename with the codename of your version (which can be found at

You can remove the nginx lines from sources.list(.d) and follow the instructions on the nginx package install guide to add the repository properly and resolve the error.