E:Release file for http://mirrors.digitalocean.com/debian/dists/stretch-updates/InRelease is expired

August 27, 2018 1.9k views
Debian Deployment

When running apt-get update:

E:Release file for http://mirrors.digitalocean.com/debian/dists/stretch-updates/InRelease is expired (invalid since 5d 9h 42min 19s)

4 Answers

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

Jarland

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

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

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

E: Release file for http://mirrors.digitalocean.com/debian/dists/stretch-updates/InRelease is expired (invalid since 6d 17h 55min 30s). Updates for this repository will not be applied.
Have another answer? Share your knowledge.

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