Kali update error in Windows 10 WSL: ‘sleep: cannot read realtime clock: Invalid argument’

After upgrading on WSL sleep doesn’t work with an error:

sleep: cannot read realtime clock: Invalid argument

Source: https://www.how2shout.com/how-to/how-to-upgrade-ubuntu-18-04-lts-to-20-04-lts-on-wsl-windows-10.html
I got it fixed using what it suggested there:

sudo -i 
sudo mv /bin/sleep /bin/sleep~ ; touch /bin/sleep ; chmod +x /bin/sleep


  1. Thank you so much for sharing this. I have been spending like two days to figure this error.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s