Linux running under Windows Subsystem for Linux 2 (WSL2) gets paused when not actively being used. This can cause the time to become of out sync with the reality, leading to package manages failing to establish encrypted connections with servers and fail to install packages. A simple fix is to install Chrony and execute it from the .bashrc
file (since Linux in WSL2 does not have a standard supervisor process or serivces; e.g. no crontab for scheduled tasks.)
sudo apt install chrony