Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAPS2 Dependency Error, Won't Install or Update, Causing Auto-Updates to Fail #569

Open
AT-StephenDetomasi opened this issue Jun 7, 2024 · 2 comments

Comments

@AT-StephenDetomasi
Copy link

This package, which has been working well, now appears to have a dependency error.

https://community.chocolatey.org/packages/naps2

I'm having some issues with this package, it seems to have some dependency issues that prevent it from installing or updating. The biggest issue for me is that it is actually preventing other packages from updating as well. Any ideas on when this issue will be resolved? Typically these dependencies should be handled by the package itself. For what it is worth, kb2919442 and dotnet-runtime already exist on my system.

PS C:\Users\Owner> choco install naps2
Chocolatey v2.2.2
3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:
 - System Cache directory is not locked down to administrators.
   Remove the directory 'C:\ProgramData\ChocolateyHttpCache' to have
   Chocolatey CLI create it with the proper permissions.

Installing the following packages:
naps2
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: 'dotnet 8.0.4 constraint: dotnet-runtime (>= 8.0.4 && < 8.0.5)'
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)'.
@AT-StephenDetomasi
Copy link
Author

AT-StephenDetomasi commented Jun 19, 2024

Anyone? This still breaks choco for me at the moment...

@dgalbraith
Copy link
Owner

I don't believe that this is an issue with the naps2 package - it looks completely unrelated.

The full dependency chain for the package is naps2 --> naps2.install --> dotnetfx (>= 4.8.0.0) --> chocolatey-dotnexfx.extension (>= 1.0.1).

There is no dependency on the packages for the security updates kb2919442 and kb2919355 or the dotnet-runtime (>= 8.0.4 && < 8.0.5) that are referenced in the errors that you are seeing.

The dependency issues here don't look to be anything to do with the naps2 package as far as I can see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants