If y'all see this type of error while updating a distro on y'all's Windows Subsystem for Linux like so:
~$ sudo apt update
[sudo] password for alex:
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:4 https://pkg.cloudflare.com focal InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
<snip>
Reading package lists... Done
E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 6h 16min 9s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 6h 16min 50s). Updates for this repository will not be applied.
issuing this command:
~$ sudo hwclock --hctosys
should allow you to update normally...
~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:5 https://pkg.cloudflare.com focal InRelease
<snip>
Fetched 229 kB in 10s (22.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.