探索一下WSL上Ubuntu的包管理工具

:::warning

此问题尚在研究中,暂时没有完美解决办法,仅供参考。

:::

ubuntu设置某个包不更新

1
sudo apt-mark hold mysql-client

显示保持不更新的团结列表

1
sudo apt-mark showhold

取消保留旧版本

1
sudo apt-mark unhold htop

ubuntu上更好的包管理工具

https://help.ubuntu.com/stable/ubuntu-help/addremove-install-synaptic.html.en

https://help.ubuntu.com/community/SynapticHowto

1
sudo apt-get install synaptic

PS:WSL暂时不能用,报错

启动命令

1
synaptic-pkexec

错误如下:

1
Error getting authority: Error initializing authority: Could not connect: No such file or directory
作者

Terwer

发布于

2022-05-18

更新于

2022-05-18

许可协议

评论