winget v1.4.10173
我在执行时winget upgrade --all
得到了以下结果:
Name Id Version Available Source
------------------------------------------------------------
MariaDB 10.5 (x64) MariaDB.Server 10.5.18.0 10.9.3.0 winget
2 upgrades available.
The following packages have an upgrade available, but require explicit targeting for upgrade:
Name Id Version Available Source
-------------------------------------------------
MSYS2 64bit MSYS2.MSYS2 20220503 20230127 winget
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
6 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
1 package(s) is pinned and needs to be explicitly upgraded.
一些博客提到--include-explicit
开关,但 v1.4.10173 中没有这样的选项。
对于更新 msys2,我实际上想要pacman -Syuu
在 msys2 shell 中运行。据我了解,通过 winget 更新 msys2 将导致删除当前 msys2 安装文件夹中存储的所有数据。即使--include-explicit
有此选项,使用它也可能是致命的。
正确的更新方式是什么系统管理软件通过安装温格特然后?