Resolving "E: Failed to fetch http://...../package.deb 404 Not Found" errors

The CircleCI convenience images (based on Ubuntu) for the Docker executor often come with apt package lists left over form the image build process.

Over time these package lists become outdated and may contain urls that have since become invalid - in this case you will receive an error message along these lines:

Resolving "E: Failed to fetch http://...../package.deb 404 Not Found" errors

To resolve this, the package lists need to be updated by running the following command before installing any packages:

apt-get update
Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.