Choco based Agent Install on Windows 2022 doesnt work
@HenrikFFM is already working on this.
Since Jun 25, 2024.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 616
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
Describe the bug
On a Windows 2022 Server System the Installation of the Agent https://community.chocolatey.org/packages/icinga2/ doesnt work.
Because the dependency is netfx-4.6.2.
But on a Windows 2022 there a newer .net frameworks installed.
To Reproduce
- open cmd.exe as Admin
- type choco install icinga2
- get the error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Chocolatey v2.2.2
Installing the following packages:
icinga2
By installing, you accept licenses for the packages.
[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'dotnetcore-windowshosting 3.1.32 constraint: dotnetcore-3.1-windowshosting (>= 3.1.32 && < 3.1.33)'
Unable to resolve dependency 'kb2919355': Unable to find a version of 'kb2919355' that is compatible with 'KB2999226 1.0.20181019 constraint: kb2919355 (>= 1.0.20160915)', 'netfx-4.6.2 4.6.2 constraint: kb2919355 (>= 1.0.20160915)', 'vcredist140 14.36.32532 constraint: kb2919355 (>= 1.0.20160915)'.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- icinga2 - Unable to resolve dependency 'kb2919355': Unable to find a version of 'kb2919355' that is compatible with 'KB2999226 1.0.20181019 constraint: kb2919355 (>= 1.0.20160915)', 'netfx-4.6.2 4.6.2 constraint: kb2919355 (>= 1.0.20160915)', 'vcredist140 14.36.32532 constraint: kb2919355 (>= 1.0.20160915)'.
Your Environment
Include as many relevant details about the environment you experienced the problem in
- Operating System and version: windows 2022, 21H2 OS Build 20348.1970
Additional context
none
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.