upgrade --all
will execute update flow for denied packages
#4298
Labels
Command-Upgrade
Issue related to WinGet Upgrade
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Brief description of your issue
When a package has
UpgradeBehavior: deny
set, I expectwinget upgrade <Package>
andwinget upgrade --all
to block updating the package. Turns outwinget upgrade --all
still tries to update the execute flow.Steps to reproduce
winget upgrade MSYS2.MSYS2
winget upgrade --all
Expected behavior
Package is blocked from upgrade
Actual behavior
WinGet tries to upgrade the package
Environment
The text was updated successfully, but these errors were encountered: