探索一下WSL上Ubuntu的包管理工具
注意
此问题尚在研究中,暂时没有完美解决办法,仅供参考。
ubuntu设置某个包不更新
sudo apt-mark hold mysql-client
1
显示保持不更新的团结列表
sudo apt-mark showhold
1
取消保留旧版本
sudo apt-mark unhold htop
1
ubuntu上更好的包管理工具
https://help.ubuntu.com/stable/ubuntu-help/addremove-install-synaptic.html.en (opens new window)
https://help.ubuntu.com/community/SynapticHowto (opens new window)
sudo apt-get install synaptic
1
PS:WSL暂时不能用,报错
启动命令
synaptic-pkexec
1
错误如下:
Error getting authority: Error initializing authority: Could not connect: No such file or directory
1
编辑 (opens new window)
上次更新: 2023/09/19, 13:33:19