APT: Release file is not valid yet

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1480
Joined: Fri Aug 29, 2003 8:39 pm

APT: Release file is not valid yet

Post by ^rooker »

[PROBLEM]
Fresh setup of Debian 10 (Buster), I got a strange error message when updating the repository sources:
E: Release file for http://xxx/mirror/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 11h 54min 2s). Updates for this repository will not be applied.
[SOLUTION]
Time/date of the machine was completely wrong (because never set).
In general I recommend installing NTP to keep time proper and sync:

Code: Select all

$ apt install ntp
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply