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

 
posted @   landv  阅读(987)  评论(0编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· 字符编码:从基础到乱码解决
· Open-Sora 2.0 重磅开源!
点击右上角即可分享
微信分享提示