Windows WSL2 htop打开黑屏的问题解决

Windows WSL2 htop打开黑屏的问题解决

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.deb
apt-mark hold libc6
apt --fix-broken install
apt full-upgrade


see: https://discourse.ubuntu.com/t/ubuntu-20-04-and-wsl-1/15291/2

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值