Open sitiom opened 3 weeks ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
This problem seems to have been around for a while, at least the good thing is that we can eventually update pnpm via the --name option.
➜ winget list --id pnpm.pnpm
Name Id Version Available Source
---------------------------------------
pnpm pnpm.pnpm 9.6.0 9.9.0 winget
➜ winget update --id pnpm.pnpm
No installed package found matching input criteria.
➜ winget upgrade --name pnpm
Found pnpm [pnpm.pnpm] Version 9.9.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/pnpm/pnpm/releases/download/v9.9.0/pnpm-win-x64.exe
This seems to be in the class of problems where more than one package has an identifier with the same root:
pnpm.pnpm and pnpm.pnpm.preview both exist in the community repository.
This is similar to:
Brief description of your issue
Upgrading
pnpm.pnpm
via the exact ID does not workSteps to reproduce
winget install pnpm.pnpm -v 9.7.1
Expected behavior
Upgrade with the exact ID (
winget upgrade --id pnpm.pnpm
) should workActual behavior
Upgrade with the exact ID (
winget upgrade --id pnpm.pnpm
) does not work. However, upgrading via the moniker does work:Environment