containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
23.76k stars 2.42k forks source link

Podman Windows Installer doesn't complete without `wsl --update` #24504

Open userid0x0 opened 5 days ago

userid0x0 commented 5 days ago

Issue Description

We noticed on a not so commonly used machine the following behavior when installing Podman 5.2.5 on Windows 10. We ran the windows installer - following that the podman.exe wasn't installed / the podman installation wasn't in the PATH variable. But the installer succeeded. After a bit of troubleshooting we ran a wsl --update and executed the the installer again - after that the PATH variable was properly updated and podman was installed.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Hard to say - I am very sorry.

Describe the results you received

Podman wasn't installed despite the installer succeeded.

Describe the results you expected

The installer properly detects errors.

podman info output

Podman 5.2.5 on Windows 10 using the exe Installer

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Luap99 commented 4 days ago

I don't know how it works on windows but on linux one needs to restart the terminal/shell to pick up the new env.