sleep: cannot read realtime clock: Invalid argument
Ctrl+C and then I get $ sudo apt --fix-broken install
...
Setting up libc6:amd64 (2.31-0ubuntu9) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
sleep: cannot read realtime clock: Invalid argument
dpkg: error processing package libc6:amd64 (--configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 1
and I have no clue how to fix this. (Edit: Found a fix. [1]) For the life of me I don't get how people always say upgrades are so easy on Ubuntu. I practically never have a pain-free Ubuntu upgrade experience... never. And while this particular issue appears WSL-related, I'm not just talking about WSL. There's always some random things breaking in the middle.Update: After fixing that and upgrading everything, now I get this nonsense:
The following packages have been kept back:
libpython3.8 libpython3.8-dev libpython3.8-minimal python3.8 python3.8-minimal
$ sudo apt-get install --upgrade python3.8
...
The following packages have unmet dependencies:
python3.8 : Depends: python3.8-minimal (= 3.8.2-1+bionic1) but 3.8.2-1ubuntu1 is to be installed
Depends: libpython3.8-stdlib (= 3.8.2-1+bionic1) but 3.8.2-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt-get install libpython3.8-stdlib
...
The following packages have unmet dependencies:
libpython3.8-stdlib : Depends: libffi6 (>= 3.0.4) but it is not installable
Depends: libreadline7 (>= 7.0~beta) but it is not installable
[1] https://github.com/microsoft/WSL/issues/4898#issuecomment-61...