Open robross0606 opened 1 week 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!
Microsoft.VCRedist.2015+.x86
(#3546), similarity score: 0.77Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Big question: If the available package does not "apply to [my] system or requirements" then why is winget upgrade
listing it as an available upgrade and trying to install it? Even doing winget upgrade --all
throws the same error. Here are verbose logs from an installation attempt:
WinGet-2024-06-21-09-50-05.344.log
2024-06-21 09:50:07.076 [CLI ] Installer [X64,wix,User,en-US] not applicable: Installer scope does not match currently installed scope: User != Machine
2024-06-21 09:50:07.085 [CLI ] Terminating context: 0x8a15002b at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:bc
Looks like maybe k6 published the installer only in the "user" scope and I have this installed in "machine" scope? If that's true, then why isn't winget upgrade
filtering this out properly? If the scopes don't match, it shouldn't be returned as a viable update because then winget upgrade --all
fails too.
Brief description of your issue
winget
lists an available upgrade for k6 but then doesn't let me actually install it. Instead, it just keeps complaining that the upgrade is available.Steps to reproduce
winget upgrade
lists the following:Then attempting
winget upgrade k6.k6
gives this:Expected behavior
If an upgrade is listed as available, it should be installable.
Actual behavior
The upgrade is listed as available but then refuses to install.
Environment