Description
(NOTE: This is a work in progress that we will continue to update).
This issue has been created to provide additional information on how to resolve dependency issues and to collect these dependency issues together.
When installing or upgrading a package, you may see the error:
[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: 'PACKAGE 3.11.4 constraint: PACKAGE (= 3.11.4)'
Unable to resolve dependency 'PACKAGE'. Source(s) used: 'SOURCE'.
(Note PACKAGE
and SOURCE
can be any package or source and are being used as examples).
There are a few common scenarios we have seen that can lead to this (in no particular order):
- You have a meta-package (
emacs
for example) that depends on another package (emacs.install
). The other package (emacs.install
) has been uninstalled by some means. This would break the dependency for the meta-package (emacs
).
(NOTE: The above list is a work in progress that we will continue to add to).
There are a couple of options available:
- Read the dependency documentation and work through the examples.
- Watch the YouTube video where we take you through some common scenarios and solutions.
- Reach out on our Community Hub.
Please do not raise an issue on this until you have gone through the options above and the Chocolatey Team requests you to. If you do raise an issue before doing the above, it is highly likely it will be closed.
Related Issues
- The message
'vcredist140 14.40.33810' is not compatible with 'missionplanner 1.3.81 constraint: vcredist140 (>= 14.30.30704)'
does not seem logical #3495 - Gleam installation fails with dependency constraint #3493
- Do not install packages if dependencies fail to install #3487
- Can't install adittional nodejs tools #3481
- Both upgrade and uninstall obs-studio.install fail blocking upgrade nodejs #3480
- Install of sass fails with unrelated dependency #3366
- Dependecy Issue installing the Chocolatey package manager #3349
- choco error on one or more package constraint that seems to be currently satisfied based on choco list KB2919442 (>= 1.0.20160915) #3346
- Unable to resolve dependency errors is stopping upgrade #3323
- [peazip][visualstudio2019buildtools] One or more unresolved package dependency constraints #3314
- Error around constraint when it appears the constraint is satisfied #3300
- Dependecy issues after upgrade to v2 #3234
- not any more available dependenency is blocking all installs #3227
- Dependency Issue installing packages #3226
- Unable to resolve dependency 'KB2919442' after V2.0.0 upgrade #3199
- Unable to resolve dependency after V2.0.0 upgrade #3176