winget install podman removes winget from PATH #12873
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
I just installed podman on Windows 10 using the following command:
After that, I started getting the following error:
I managed to get winget back into my PATH again, but when I uninstalled podman and installed it again later, I got the exact same error. What's also insteresting is that when I went to add the path environment variable again (which is called "Path" in de "Edit environment variable" window) it specifically contained "%PATH%" and "C:\Program Files (x86)\RedHat\Podman". This would suggest that installing podman overwrites all other path entries, which is not desired behavior IMHO.
Steps to reproduce the issue:
open
cmd
on Windows 10run
winget install podman
close
cmd
and open a new onerun
winget
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes and No respectively
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical Window 10 HP laptop
The text was updated successfully, but these errors were encountered: