-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget upgrade --id XP89DCGQ3K6VLD --version 0.81.1
fails even if winget upgrade
says that version is available
#4514
Comments
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! Open similar issues:
Closed similar issues:
|
Does it work if you just run |
This is an interesting looking edge case where at least at one point, it appears PowerToys had been installed using the Microsoft Store, and at another point, WinGet acted on the package using the "winget" source. I don't think I've seen this before. I'll have to see if there is a way I can reproduce this scenario, but my guess is it will have to wait until a newer version of PowerToys comes out and is published to the "winget" source after installing an earlier version from the "msstore" source. I don't believe the upgrade command will do anything using the ID from the "msstore" source since that source doesn't provide a version for WinGet to reason about an upgrade being available. That's also why the "no match" error is being reported. I'd say the "msstore" source is acting as expected (not necessarily what I'd want it to do) giving no version information to WinGet, so WinGet is also acting as expected giving the error message. The real issue in my mind is how the device got into that state, and how WinGet can do the right thing in the future given this scenario. Nice find @sba923! |
Get ready for a terrible run on sentence: My best guess at clearing the issue up is to perform an uninstall using the store Id, and then a reinstall using the "winget" source since no automatic updates are afforded for Win32 packages coming from the "msstore" source, and no version information is coming from the "msstore" source via the endpoint used by WinGet to test using version logic for a newer version. |
No problem with the long sentence 😆 I had something like that in mind. I actually ended up using PowerToys' self-update mechanism. I can't even remember why the The fact that I'm using a |
sorry, can't test anymore as I have performed the upgrade another way 😢 |
You're welcome! Based on your clarification, I'm removing the |
Brief description of your issue
On a system where
winget upgrade
reports that version 0.81.1 of PowerToys is available,winget upgrade --id XP89DCGQ3K6VLD --version 0.81.1
fails withNo version found matching: 0.81.1
Steps to reproduce
Run
winget upgrade --id XP89DCGQ3K6VLD --version 0.81.1
on a system with PowerToys 0.81.0 installedExpected behavior
PowerToys should be upgraded to 0.81.1
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: