Windows WSL2 htop打開(kāi)黑屏的問(wèn)題解決
Windows WSL2 htop打開(kāi)黑屏的問(wèn)題解決
Update: it’s not as straightforward as I’d thought.
The ppa contains packages for focal and have dependency issues with bionic. Further, focal has newer versions of the packages than provided in the ppa.
The following worked for me, but may not be the best approach, and I can’t guarantee it won’t grenade your install:
wget https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1871129/+files/libc6_2.31-0ubuntu8+lp1871129~1_amd64.deb
Since focal has newer versions than the packages in the ppa, and we’re only interested in libc6, just download the package directly. Can’t install it yet because of dependency issues, but will need it after the next step.
do-release-upgrade -d
It’ll break because of libc6 as expected.
dpkg --install libc6_2.31-0ubuntu8+lp1871129~1_amd64.debapt-mark hold libc6apt --fix-broken installapt full-upgrade
see: https://discourse.ubuntu.com/t/ubuntu-20-04-and-wsl-1/15291/2

浙公網(wǎng)安備 33010602011771號(hào)