Command line tools disappear from PATH after upgrading them
Brief description of your issue
After upgrading sharkdp.fd and BurntSushi.ripgrep.MSVC using winget upgrade they disappeared from PATH. I managed to fix it by manually uninstalling and reinstalling them (using winget uninstall and winget install.
Steps to reproduce
- Upgrade
Expected behavior
Executables remain in PATH
Actual behavior
Executables disappear from PATH
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.4112
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Bumping up, I have same issue with other packages:
Helm. HelmKubernetes.kubectl
Reproducing:
- Install
Helm. Helm - See PATH variable definition - all OK
C:\Users\****\AppData\Local\Microsoft\WinGet\Packages\Helm.Helm_Microsoft.Winget.Source_8wekyb3d8bbwe\windows-amd64found winget upgrade --all(when update is available)- PATH no longer contains requried entry
@equeim , I would like to suggest better wording:
"Executables disappear from PATH" --> "PATH for packaged executable is removed from PATH list definition"
Previously reported here: https://github.com/microsoft/winget-cli/issues/4044, still no updates 😞
Duplicate of #4044
Hello @@equeim,
We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!
Template: msftbot/duplicate/closed