I am in Ubuntu 22.04 via WSL on Windows 11.
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
is returning :
## Installing the NodeSource Node.js 18.x repo...## Populating apt-get cache...+ apt-get updateHit:1 https://apt.releases.hashicorp.com jammy InReleaseHit:2 http://archive.ubuntu.com/ubuntu jammy InReleaseGet:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]Hit:4 https://packages.redis.io/deb jammy InReleaseGet:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]Reading package lists... DoneE: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 5h 27min 34s). 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 5h 27min 59s). Updates for this repository will not be applied.E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease is not valid yet (invalid for another 5h 28min 40s). Updates for this repository will not be applied.Error executing command, exiting
$ sudo head /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_InRelease-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA512Origin: UbuntuLabel: UbuntuSuite: jammyVersion: 22.04Codename: jammyDate: Thu, 21 Apr 2022 17:16:08 UTCArchitectures: amd64 arm64 armhf i386 ppc64el riscv64 s390x
What am I to do ?
$dateFri Feb 24 04:12:40 IST 2023