[Package Issue]: JanDeDobbeleer.OhMyPosh requires elevation to upgrade #195802
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
This work item needs to be triaged by a member of the core team.
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
When updating
JanDeDobbeleer.OhMyPosh
(installed in user scope) usingwinget upgrade JanDeDobbeleer.OhMyPosh
, the installer requires elevation. Uninstall and reinstall will not require elevation.Steps to reproduce
winget uninstall JanDeDobbeleer.OhMyPosh
(if previously installed)winget install JanDeDobbeleer.OhMyPosh --version "24.11.2" --scope "user"
winget upgrade JanDeDobbeleer.OhMyPosh
winget upgrade JanDeDobbeleer.OhMyPosh --uninstall-previous
Actual behavior
There is elevation prompt when upgrading the package
Expected behavior
If the package is installed in user scope, there should not be elevation prompt when upgrading
Environment
Screenshots and Logs
WinGet-2024-12-02-17-43-44.810.log
The text was updated successfully, but these errors were encountered: