Closed obadaahmar closed 1 year ago
Installed packages and their dependencies are more strictly enforced in Chocolatey CLI v2.0.0. That means that if you have a missing package dependency in your locally installed packages (or a dependency that is out of range), this will prevent any upgrades from happening.
The way to get upgrade work again is to install these missing dependencies, from the look of you log file, and listed packages the dependency is missing is KB3063858
.
Run choco install kb3063858
to get it installed (installs and uninstalls should still work fine).
See https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6#unresolved-dependency-constraint-warnings for more information about this warning and error.
Thanks! Installing the dependancy worked.
I have the same error message on two machines that I have access to. Attempting to choco install kb3063858 as above then states "KB3063858 v1.0.0 already installed" , although attempting to install with a force install generates "Skipping installation because update KB3063858 does not apply to this operating system (Microsoft Windows 11 Enterprise)" Removing obs.install (which required removing obs-ndi) then allowed the rest of choco upgrade all to work successfully.
I already have KB2919442 installed but I still get this issue. I have no obs.install package
@CritLoren there is a documentation page here: https://docs.chocolatey.org/en-us/choco/troubleshooting/dependency-troubles
If you have further issues with dependencies I'd suggest asking on the Community Chat. https://ch0.co/community
The only useful thing on that page was --ignore-dependencies
Checklist
What You Are Seeing?
After the V.2.0.0 upgrade to Chocolatey, any upgrade to a package is failing because of this error: Failures
What is Expected?
For the packages to be upgraded successfully.
How Did You Get This To Happen?
I run this command: choco upgrade all -y then I recieve this error for all upgrades: 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)'.
System Details
Installed Packages
Output Log
Additional Context
No response