You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade for Microsoft.Powershell not working #2858
Try adding -e at the end to use an exact match winget upgrade --id Microsoft.Powershell -e
does not help unfortunately
´´´
PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.Powershell -e
No installed package found matching input criteria.
´´´
Try adding -e at the end to use an exact match winget upgrade --id Microsoft.Powershell -e
does not help unfortunately ´´´ PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.Powershell -e No installed package found matching input criteria. ´´´
Are you able to post the logs from winget upgrade --id Microsoft.Powershell -e --verbose-logs ?
The rainbow progress bar is a setting. winget settings --help will give a link to the settings page.
I use Visual Studio Code as my default JSON editor so I get "help" modifying the file.
PowerShell has both MSIX and MSI based installers. The Microsoft Store references the MSIX installer, and the winget community repository references the MSI installer (except for ARM64). They aren't able to "update" each other. The WinGet matching heuristics are also not quite able to get the right match in this case.
There was also a temporary issue where the winget manifest also included the MSIX installers.
In this case, I think the best bet is to uninstall and reinstall so winget is "back" in sync with your preferred source.
WinGet is going to need a bit more logic to have additional checks regarding the installer type for installed packages for this particular scenario.
Activity
Trenly commentedon Jan 16, 2023
Try adding
-eat the end to use an exact matchwinget upgrade --id Microsoft.Powershell -ekathodion commentedon Jan 16, 2023
does not help unfortunately
´´´
PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.Powershell -e
No installed package found matching input criteria.
´´´
Trenly commentedon Jan 16, 2023
Are you able to post the logs from
winget upgrade --id Microsoft.Powershell -e --verbose-logs?kathodion commentedon Jan 17, 2023
It looks better. But on my main machine, there is no update now. I will try your idea and update the issue.
BTW nice colourful progress bar. How do you do that?
denelon commentedon Jan 17, 2023
The rainbow progress bar is a setting.
winget settings --helpwill give a link to the settings page.I use Visual Studio Code as my default JSON editor so I get "help" modifying the file.
kathodion commentedon Feb 6, 2023
did not help unfortunately. Any other idea?
denelon commentedon Feb 6, 2023
Pascal Odermatt (@kathodion),
PowerShell has both MSIX and MSI based installers. The Microsoft Store references the MSIX installer, and the winget community repository references the MSI installer (except for ARM64). They aren't able to "update" each other. The WinGet matching heuristics are also not quite able to get the right match in this case.
There was also a temporary issue where the winget manifest also included the MSIX installers.
In this case, I think the best bet is to uninstall and reinstall so winget is "back" in sync with your preferred source.
WinGet is going to need a bit more logic to have additional checks regarding the installer type for installed packages for this particular scenario.