chocolatey / chocolatey/choco

Windows Server 10.x is 2019 not 2016

Open
#2,318 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

https://github.com/chocolatey/choco/blob/af3e8c9577ed29d7572581418a8274fd6ce7709b/src/chocolatey/infrastructure/platforms/Platform.cs#L122

Noticed it while trying to debug failing python install in startup script on a 2019 server. It tries to install KB2999226 which isn't applicable for 2019 Server.

Contributor guide

Open the contributing guide

Research direction

Open src/chocolatey/infrastructure/platforms/Platform.cs at line 122 and inspect how Windows Server 10.x is identified. Update the platform version so it is treated as Windows Server 2019 rather than 2016, then verify that the resulting package prerequisites no longer select KB2999226 for 2019 Server.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
operating-systems
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.