No installed package found matching input criteria.
After upgrading winget, I received this cryptic message any time I tried to update my packages. To help others, and my future self, the solution is the following:
|
|
All this does is uninstall the current package sources, like you might see on debian linux with repos, and then resets the locations.
reset
The reset subcommand resets the client back to its original configuration, and removes all sources except the default. Only use this subcommand in rare cases. Because the command changes user access, using reset requires administrator privileges.
Because the reset command removes all sources, you must force the action by using the –force option.
Extra
In your PowerShell $PROFILE you can use the following PowerShell function to make updates and upgrades a smoother process by hiding click-throughs and combining commands (if you’re using scoop and winget).
|
|