-
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
"No installed package found matching input criteria." when trying to update 7zip #3690
Comments
Can you post the output of |
Failed in attempting to update the source: winget
|
PS C:> winget list 7-zip |
We've added experimental support for better Side-by-Side behavior in WinGet 1.8-preview releases. Please try the experimental feature. |
I confirm the issue (as described in #4540) goes away after:
I have no clue as to how two different versions could have been registered on the same machine, given that the installation path is the same... but that's another story |
We now have better support for side-by-side installation. You should be able to uninstall individual versions of packages, and the upgrade flow should work as well using WinGet 1.8. |
Brief description of your issue
Getting this error when trying to update 7-zip.
"No installed package found matching input criteria."
I can only update by supplying the full name of the app in quotes rather than the Id e.g. winget update "7-Zip 21.07 (x64)" rather than winget upgrade --id 7zip.7zip
CLI output for reference:
winget upgrade --id 7zip.7zip
No installed package found matching input criteria.
winget update "7-Zip 21.07 (x64)"
Found 7-Zip [7zip.7zip] Version 23.01
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://www.7-zip.org/a/7z2301-x64.exe
██████████████████████████████ 1.51 MB / 1.51 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Successfully installed
Steps to reproduce
winget upgrade --id 7zip.7zip
No installed package found matching input criteria.
winget update "7-Zip 21.07 (x64)"
Found 7-Zip [7zip.7zip] Version 23.01
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://www.7-zip.org/a/7z2301-x64.exe
██████████████████████████████ 1.51 MB / 1.51 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Successfully installed
Expected behavior
Would expect it to update using
winget upgrade --id 7zip.7zip
Actual behavior
Getting "No installed package found matching input criteria."
Environment
The text was updated successfully, but these errors were encountered: