containers / podman

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

Bad Installation version check for Windows Server #20984

Closed discoverysupporteurogroup closed 7 months ago

discoverysupporteurogroup commented 11 months ago

Issue Description

Hello, I have seen #17825 but on Windows Server the minimum OS build number for WSL2 is 1709 (source https://learn.microsoft.com/en-US/windows/wsl/install-on-server#install-wsl-on-previous-versions-of-windows-server) I've successfully installed and ran Ubuntu 20.04 LTS if you want to try it as well

Thanks

Steps to reproduce the issue

Steps to reproduce the issue

  1. Install Windows Server 2019
  2. Install Podman

Describe the results you received

Installation failure

Describe the results you expected

Installation successful

podman info output

[3EC8:513C][2023-12-11T16:29:34]i001: Burn v3.11.2.4516, Windows v10.0 (Build 17763: Service Pack 0), path: C:\Users\VD081~1.FLO\AppData\Local\Temp\2\{05438813-67F6-4042-BFF1-F2D20B2A8FE7}\.cr\podman-4.8.2-setup.exe
[3EC8:513C][2023-12-11T16:29:34]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]RedHat\Podman'
[3EC8:513C][2023-12-11T16:29:34]i000: Initializing string variable 'VERSION' to value '4.8.2'
[3EC8:513C][2023-12-11T16:29:34]i000: Initializing numeric variable 'WSLCheckbox' to value '1'
[3EC8:513C][2023-12-11T16:29:34]i000: Initializing numeric variable 'AllowOldWin' to value '0'
[3EC8:513C][2023-12-11T16:29:34]i000: Initializing string variable 'LaunchTarget' to value 'explorer.exe'
[3EC8:513C][2023-12-11T16:29:34]i000: Initializing string variable 'LaunchArguments' to value '"[InstallFolder]\podman-for-windows.html"'
[3EC8:513C][2023-12-11T16:29:34]i009: Command Line: '-burn.clean.room=C:\Users\v.florio\Downloads\podman-4.8.2-setup.exe -burn.filehandle.attached=648 -burn.filehandle.self=656'
[3EC8:513C][2023-12-11T16:29:34]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\v.florio\Downloads\podman-4.8.2-setup.exe'
[3EC8:513C][2023-12-11T16:29:34]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\v.florio\Downloads\'
[3EC8:513C][2023-12-11T16:29:34]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\VD081~1.FLO\AppData\Local\Temp\Podman_20231211162934.log'
[3EC8:513C][2023-12-11T16:29:34]i000: Setting string variable 'WixBundleName' to value 'Podman'
[3EC8:513C][2023-12-11T16:29:34]i000: Setting string variable 'WixBundleManufacturer' to value 'Red Hat'
[3EC8:4D4C][2023-12-11T16:29:34]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[3EC8:4D4C][2023-12-11T16:29:34]i000: Setting version variable 'WixBundleFileVersion' to value '4.8.2.0'
[3EC8:513C][2023-12-11T16:29:34]i100: Detect begin, 2 packages
[3EC8:513C][2023-12-11T16:29:34]i000: Setting string variable 'CBNumber' to value '17763'
[3EC8:513C][2023-12-11T16:29:34]i000: Registry key not found. Key = 'SOFTWARE\Red Hat\Podman'
[3EC8:513C][2023-12-11T16:29:34]i000: Registry key not found. Key = 'SOFTWARE\Red Hat\Updates\Podman'
[3EC8:513C][2023-12-11T16:29:34]i052: Condition 'PreviousInstallFolder' evaluates to false.
[3EC8:513C][2023-12-11T16:29:34]i101: Detected package: Setup, state: Absent, cached: None
[3EC8:513C][2023-12-11T16:29:34]i101: Detected package: podman_wslkerninst.exe, state: Absent, cached: None
[3EC8:513C][2023-12-11T16:29:34]i052: Condition 'VersionNT >= v10.0 AND (CBNumber >= 19041 OR AllowOldWin = 1)' evaluates to false.
[3EC8:513C][2023-12-11T16:29:34]e000: Windows 10 (19041) or later is required to run this application.
[3EC8:513C][2023-12-11T16:29:34]e000: Error 0x81f40001: Bundle condition evaluated to false: VersionNT >= v10.0 AND (CBNumber >= 19041 OR AllowOldWin = 1)
[3EC8:513C][2023-12-11T16:29:34]i199: Detect complete, result: 0x0

Podman in a container

Yes

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

AWS EC2 Instance

Additional information

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

github-actions[bot] commented 10 months ago

A friendly reminder that this issue had no activity for 30 days.

Luap99 commented 7 months ago

I think https://github.com/containers/podman/discussions/16984 still applies here, you can bypass the version check if you really want.