Page 1 of 1

APT: Release file is not valid yet

Posted: Tue Sep 01, 2020 4:41 pm
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