You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The installation of dotnet-6.0-windowshosting using the Chocolatey package manager with the version 6.0.14 and higher is failing. The error message indicates that the installation process is unable to resolve the dependency 'KB2919442' and cannot find a compatible version of it.
Steps to Reproduce:
Run the command choco install dotnet-6.0-windowshosting --version=6.0.14 -y
Failures:- -dotnet-6.0-windowshosting - Unable to resolve dependency 'KB2919442': Unable to find a version of 'KB2919442' that is compatible with 'KB2919355 1.0.20160915 constraint: KB2919442 (>= 1.0.20160915)'
The package installs fine on a clean Win10 machine. There have been no changes in dotnet 6.0 package dependencies since their creation.
Looking at your log:
2023-06-18 17:01:06,186 40196 [DEBUG] - --- Start of List ---
2023-06-18 17:01:06,199 40196 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-06-18 17:01:06,404 40196 [DEBUG] - KB2919355 1.0.20160915
...
2023-06-18 17:01:20,737 40196 [ERROR] - - dotnet-6.0-windowshosting - Unable to resolve dependency 'kb2919355': Unable to find a version of 'kb2919355' that is compatible with 'KB2999226 1.0.20161023 constraint: kb2919355 (>= 1.0.20160915)', 'vcredist140 14.0.24215.1 constraint: kb2919355 (>= 1.0.20160915)'.
choco sees KB2919355 version 1.0.20160915 as already installed, but then it claims it was unable to resolve it as a dependency. This looks like an issue with choco.exe. Major changes to package dependency handling have been made in the recently released choco 2.0.0, so the first thing I would suggest would be to try this on an older choco (such as 1.4.0).
(My guess would be that some code inside choco treats package ids as case sensitive. But it's just that, a guess.)
The installation of dotnet-6.0-windowshosting using the Chocolatey package manager with the version 6.0.14 and higher is failing. The error message indicates that the installation process is unable to resolve the dependency 'KB2919442' and cannot find a compatible version of it.
Steps to Reproduce:
Run the command
choco install dotnet-6.0-windowshosting --version=6.0.14 -y
Failures:-
-dotnet-6.0-windowshosting - Unable to resolve dependency 'KB2919442': Unable to find a version of 'KB2919442' that is compatible with 'KB2919355 1.0.20160915 constraint: KB2919442 (>= 1.0.20160915)'
Here are the sample installation logs https://gist.github.com/umeshmuipath/5ad92f4e225bf2135508da74e1559f1f
The text was updated successfully, but these errors were encountered: