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

[Package Issue]: MinGit faulty Path environment variable #98100

Closed
2 tasks done
dothit opened this issue Mar 1, 2023 · 3 comments
Closed
2 tasks done

[Package Issue]: MinGit faulty Path environment variable #98100

dothit opened this issue Mar 1, 2023 · 3 comments
Labels
Help-Wanted This is a good candidate work item from the community. Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@dothit
Copy link

dothit commented Mar 1, 2023

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

The installation of MinGit does not seem to add a correct path to the Path environment variable.
I my case, following path is added:

~\AppData\Local\Microsoft\WinGet\Packages\Git.MinGit_Microsoft.Winget.Source_8wekyb3d8bbwe

However, the part \cmd is missing at the end to be correct.

Steps to reproduce

Open terminal, type:

winget install MinGit

Close and open new terminal, type:

git

Actual behavior

Error message, git can't be found.

Expected behavior

Git manpage.

Environment

Windows-Paket-Manager v1.4.10173
Windows: Windows.Desktop v10.0.22621.1265
Paket: Microsoft.DesktopAppInstaller v1.19.10173.0

Screenshots and Logs

No response

@dothit dothit added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Mar 1, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Mar 1, 2023
@dothit dothit changed the title [Package Issue]: Package.Identifer MinGit faulty Path environment variable [Package Issue]: MinGit faulty Path environment variable Mar 1, 2023
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Mar 1, 2023
@denelon denelon added the Help-Wanted This is a good candidate work item from the community. label Mar 1, 2023
@denelon
Copy link
Contributor

denelon commented Mar 1, 2023

@dothit
Copy link
Author

dothit commented Mar 1, 2023

Thanks for pointing out that issue!
I guess starting Terminal as administrator is a workaround until the fix is merged. It's quick and (rather) dirty when activating developer mode is not always an option.

@dothit dothit closed this as completed Mar 1, 2023
@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
@okineadev
Copy link

Execute hash -r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help-Wanted This is a good candidate work item from the community. Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants