Multiple same name packages appeared right after the package upgrade
Brief description of your issue我刚刚升级了一个软件包,最终得到了多个 packages 的不同版本
Steps to reproducetype winget upgrade Microsoft.SQLServerManagementStudio
and then type winget upgrade
no result should include Microsoft.SQLServerManagementStudio
Name Id Version Available Source
------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 2.3.28307 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 12.0.40664.0 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 1.36.1 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 14.29.30133.0 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 14.29.30133.0 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 1.35.0 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 11.4.7462.6 15.0.18410.0 winget
Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 12.0.40664.0 15.0.18410.0 winget
Environment Windows Package Manager (Preview) v1.3.1251-preview Copyright (c) Microsoft Corporation. All rights reserved. Windows: Windows.Desktop v10.0.22000.613 System Architecture: X64 Package: Microsoft.DesktopAppInstaller v1.18.1251.0 Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir Links --------------------------------------------------------------------------- Privacy Statement https://aka.ms/winget-privacy License Agreement https://aka.ms/winget-license Third Party Notices https://aka.ms/winget-3rdPartyNotice Homepage https://aka.ms/winget Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
与#2137
cc @johnmcpms#2137(注释)
I suggested on the PR that we should just use the local name for list
because of how they are using this in the manifest. There are still going to be ... issues ... with targeting these for uninstall
, but at least list
won't be confusing.
此外,它确实支持SXS安装,因此这将是增加对SXS和多组件软件包的支持的有趣案例。