E:Release file for is expired

When running apt-get update:

E:Release file for is expired (invalid since 5d 9h 42min 19s)


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.

I’m seeing this right now in NYC3, freshly created Debian 9.5 droplet:

E: Release file for is expired (invalid since 6d 17h 55min 30s). Updates for this repository will not be applied.

Getting this in SGP1 on new droplet that was created a few minutes ago.

This is happening on droplets that I just created, could there be something wrong with the base image?

Hey friend!

I checked to make sure everything is good on this side, and it looks to be. I’m going to recommend this as a potential fix:

rm -rf /var/lib/apt/lists/*
apt-get clean
apt-get update