{{tag>apt apt-get troubleshooting}} ====== apt-get troubleshooting ====== ===== Failed to update apt cache: E:Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 7h 31min 19s). ===== Full error: msg: 'Failed to update apt cache: E:Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 7h 31min 19s). Updates for this repository will not be applied., E:Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 1d 5h 44min 11s). Updates for this repository will not be applied., E:Release file for http://deb.debian.org/debian/dists/bullseye-backports/InRelease is not valid yet (invalid for another 1d 5h 44min 11s). Updates for this repository will not be applied.' Check the date and time on the server. date It's probably wrong. Reboot server. reboot ====== Tested on ====== * vagrant debian 11 ====== See also ====== * ====== References ======