Apt-get update with errors

Hi Robert,

I try to install dialog utility, but it fails to install. It seems the apt-get update with errors. The Database may not be updated?
Here is the error messages:
$ sudo apt-get update
Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:3 http://repos.rcn-ee.com/debian buster InRelease [3,078 B]
Get:4 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
Reading package lists… Done
E: Release file for http://deb.debian.org/debian/dists/buster/InRelease is not valid yet (invalid f or another 628d 20h 11min 1s). Updates for this repository will not be applied.
E: Release file for http://repos.rcn-ee.com/debian/dists/buster/InRelease is not valid yet (invalid for another 666d 1h 3min 18s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (i nvalid for another 666d 0h 23min 59s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian-security/dists/buster/updates/InRelease is not val id yet (invalid for another 665d 2h 0min 3s). Updates for this repository will not be applied.

//=========
$sudo apt-get install dialog
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘dialog’ has no installation candidate

Thank you,
David

update your clock first, for security reasons, apt will automatically disable repos with invalid keys.

In this case, your local clock is off, so it disabled the repo…

Regards,

Thank you so much. Now I remember this happened to me and I asked you before. The error message didn’t hint it was date-time stamp causing the security issue.

Best Regards,
David