Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line tools disappear from PATH after upgrading them #4800

Open
equeim opened this issue Sep 9, 2024 · 2 comments
Open

Command line tools disappear from PATH after upgrading them #4800

equeim opened this issue Sep 9, 2024 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Portable Issue related to portable package

Comments

@equeim
Copy link

equeim commented Sep 9, 2024

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

  1. 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
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Sep 9, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Portable Issue related to portable package and removed Needs-Triage Issue need to be triaged labels Sep 10, 2024
@jkruza
Copy link

jkruza commented Jan 6, 2025

Bumping up, I have same issue with other packages:

  • Helm. Helm
  • Kubernetes.kubectl

Reproducing:

  1. Install Helm. Helm
  2. See PATH variable definition - all OK C:\Users\****\AppData\Local\Microsoft\WinGet\Packages\Helm.Helm_Microsoft.Winget.Source_8wekyb3d8bbwe\windows-amd64 found
  3. winget upgrade --all (when update is available)
  4. 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"

@curioussabhi
Copy link

Previously reported here: #4044, still no updates 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Portable Issue related to portable package
Projects
None yet
Development

No branches or pull requests

4 participants