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

not any more available dependenency is blocking all installs #3227

Closed
4 tasks done
BananaAcid opened this issue Jun 24, 2023 · 17 comments
Closed
4 tasks done

not any more available dependenency is blocking all installs #3227

BananaAcid opened this issue Jun 24, 2023 · 17 comments

Comments

@BananaAcid
Copy link

BananaAcid commented Jun 24, 2023

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

What You Are Seeing?

Upgrading or installing any package is not possible due to dependency (keepass.install) of a single other package (keepass) is blocking everything. Manually installing that missing package did not help. Reinstalling the specific package (keepass) with --ignore-dependencies did not fix.

image

this could be related to
issues/3226

What is Expected?

The package is not even installed and all other installations fail due to this unrelated package.

How Did You Get This To Happen?

I really don't know, how that package got missing.

Otherwise just upgrade all to trigger.

System Details

  • Operating System: 10.0.22000.0
  • Windows PowerShell version: 7.3.4
  • Chocolatey CLI Version: 2.0.0
  • Chocolatey Licensed Extension version: Chocolatey v2.0.0
  • Chocolatey License type: None.
  • Terminal/Emulator: Terminal:PWSH

Installed Packages

7zip 22.1.0
7zip.install 22.1.0
autohotkey.portable 2.0.2
balsamiqmockups3 3.4.4
betterdiscord 1.3.0
blender 3.5.1
chocolatey 2.0.0
chocolatey-appstore-chrome 2.0.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-font-helpers.extension 0.0.4
chocolateygui 2.0.0
chocolatey-visualstudio.extension 1.10.2
chocolatey-windowsupdate.extension 1.0.5
choco-nuspec-checker 2023.5.17
choco-package-list-backup 2022.2.6
choco-protocol-support 0.2.0
chromium 114.0.5735.91
cpu-z.install 2.6.0
cryptomator 1.9.0
cyberduck 8.6.0.39818
discord 1.0.9005
discord.install 1.0.9005
docker-desktop 4.19.0
DotNet4.6.1 4.6.1055.20170308
dotnet4.7.1 4.7.2558.20190226
dotnet-6.0-desktopruntime 6.0.16
dotnet-7.0-desktopruntime 7.0.5
dotnet-desktopruntime 7.0.5
dotnetfx 4.8.0.20220524
dropbox 173.4.6706
FiraCode 6.2.0
Firefox 113.0.2
git.install 2.41.0
github-desktop 3.2.3
handbrake.install 1.6.1
InkScape 1.2.2.20230220
instchoco 2.11.0
jre8 8.0.371
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
KB3063858 1.0.0
keepass 2.54.0
keepass-keepasshttp 1.8.4.220170629
keepass-langfiles 2.41.0
keepass-plugin-keepassotp 1.6.5
keepassxc 2.7.5
k-litecodecpackfull 17.6.0
lghub 2023.4.7679
LinkShellExtension 3.9.3.5
make 4.4.1
meld 3.22.0
nvm 1.1.9
nvm.install 1.1.11
onlyoffice 7.4.0
PowerShell 5.1.14409.20180811
powertoys 0.70.1
sharex 15.0.0
shutup10 1.9.1435
simplednscrypt 0.6.6
sublimetext4 4.0.0.414300
teamspeak 3.6.0
teamviewer 15.42.8
ultravnc 1.3810.0
unity 2022.3.0
unity-hub 3.4.2
vcredist140 14.36.32532
vcredist2008 9.0.30729.616104
vcredist2015 14.0.24215.20170201
vcredist2017 14.16.27033
veracrypt 1.25.9
visualstudio2022community 117.6.2
visualstudio-installer 2.0.3
vlc 3.0.18
vlc.install 3.0.18
vscode.install 1.78.2
winfsp 2.0.23075
wiztree 4.14.0
yed 3.23.1

83 packages installed.

Output Log

PS C:\Windows\System32> choco upgrade all -Y

Chocolatey v2.0.0
Upgrading the following packages:
all
By upgrading, you accept licenses for the packages.

You have 7zip v22.1 installed. Version 23.1.0 is available based on your source(s).
[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: 'keepass-keepasshttp 1.8.4.220170629 constraint: keepass (>= 2.0.0 && < 3.0.0)', 'keepass-langfiles 2.41.0 constraint: keepass (>= 2.41.0)', 'keepass-plugin-keepassotp 1.6.5 constraint: keepass (>= 2.42.0 && < 3.0.0)'
Unable to resolve dependency 'keepass.install'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

You have 7zip.install v22.1 installed. Version 23.1.0 is available based on your source(s).
[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: '7zip 22.1.0 constraint: 7zip.install (= 22.1.0)', 'keepass-keepasshttp 1.8.4.220170629 constraint: keepass (>= 2.0.0 && < 3.0.0)', 'keepass-langfiles 2.41.0 constraint: keepass (>= 2.41.0)', 'keepass-plugin-keepassotp 1.6.5 constraint: keepass (>= 2.42.0 && < 3.0.0)'
Unable to resolve dependency 'keepass.install'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

Exiting chocolatey abnormally. Please manually clean up anything that
 was not finished.

^C

Additional Context

No response

@BananaAcid BananaAcid added the Bug label Jun 24, 2023
@TheCakeIsNaOH
Copy link
Member

What happens if you run choco install keepass.install?

@BananaAcid
Copy link
Author

BananaAcid commented Jun 30, 2023

It pretends to install - but but nothing happens, keepass package was already installed.

@TheCakeIsNaOH
Copy link
Member

I am talking about the keepass.install package, not the keepass package.

@BananaAcid
Copy link
Author

BananaAcid commented Jul 1, 2023

Me as well. I try to write my short sentence in a longer variant.

keepass.install pretends to install from cli without any error. keepass.install installed the keepass package before, that is how it ended up on the PC. Nothing happens by using the keepass.install package to solve the dependency issue.

Btw: I fixed it by removing any reference to keepass.install and keepass from any where as well as deleting the files of keepass, then installing keepass manually

@gep13
Copy link
Member

gep13 commented Jul 4, 2023

Happy to hear that you were able to resolve this issue!

@BananaAcid said...
Btw: I fixed it by removing any reference to keepass.install and keepass from any where as well as deleting the files of keepass, then installing keepass manually

Would you be able to elaborate on exactly what you did here, as I am not sure that I follow.

It would be great to see the chocolatey.log (assuming that you still have it) from this command:

keepass.install pretends to install from cli without any error.

As I am also not sure I understand what you mean by this.

@aetonsi
Copy link

aetonsi commented Jul 25, 2023

I was having this error with nodejs blocking itself during an upgrade.
I solved by uninstalling node via choco, which resulted in an error so i removed it in appwiz.cpl, then reinstalling node via choco.

nodejs v20.5.0 is the latest version available based on your source(s).

You have nodejs.install v20.4.0 installed. Version 20.5.0 is available based on your source(s).
[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: 'nodejs 20.5.0 constraint: nodejs.install (= 20.5.0)'
Progress: Downloading nodejs.install 20.5.0... 100%

nodejs.install v20.5.0 [Approved]
nodejs.install package files upgrade completed. Performing other installation steps.
Installing 64 bit version
Installing nodejs.install...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\nodejs.install_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\WINDOWS\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\nodejs.install\tools\node-v20.5.0-x64.msi" /quiet ADDLOCAL=ALL ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\nodejs.install_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The upgrade of nodejs.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\nodejs.install\tools\chocolateyInstall.ps1'.
 See log for details.

@gravitiq-cm
Copy link

Just failed to install on a fairly new Win11 system. What could I try to do to solve it?

Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.                                                                                                        Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/2.1.0.                               Downloading https://community.chocolatey.org/api/v2/package/chocolatey/2.1.0 to C:\Users\micro\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip                                                                                        Not using proxy.                                                                                                        Extracting C:\Users\micro\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip to C:\Users\micro\AppData\Local\Temp\chocolatey\chocoInstall
Installing Chocolatey on the local machine
Creating ChocolateyInstall as an environment variable (targeting 'Machine')
  Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
WARNING: It's very likely you will need to close and reopen your shell
  before you can use choco.
Restricting write permissions to Administrators
We are setting up the Chocolatey package repository.
The packages themselves go to 'C:\ProgramData\chocolatey\lib'
  (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
  and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

Creating Chocolatey folders if they do not already exist.

chocolatey.nupkg file not installed in lib.
 Attempting to locate it from bootstrapper.
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
WARNING: Not setting tab completion: Profile file does not exist at
'C:\Users\micro\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
 first prior to using choco.
Ensuring Chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder
Chocolatey v2.1.0
Upgrading the following packages:
python;visualstudio2019-workload-vctools
By upgrading, you accept licenses for the packages.
python is not installed. Installing...
Progress: Downloading chocolatey-compatibility.extension 1.0.0... 100%

chocolatey-compatibility.extension v1.0.0 [Approved]
chocolatey-compatibility.extension package files upgrade completed. Performing other installation steps.
 Installed/updated chocolatey-compatibility extensions.
 The upgrade of chocolatey-compatibility.extension was successful.
  Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility'
Progress: Downloading chocolatey-core.extension 1.4.0... 100%

chocolatey-core.extension v1.4.0 [Approved]
chocolatey-core.extension package files upgrade completed. Performing other installation steps.
 Installed/updated chocolatey-core extensions.
 The upgrade of chocolatey-core.extension was successful.
  Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
Progress: Downloading chocolatey-windowsupdate.extension 1.0.5... 100%

chocolatey-windowsupdate.extension v1.0.5 [Approved]
chocolatey-windowsupdate.extension package files upgrade completed. Performing other installation steps.
 Installed/updated chocolatey-windowsupdate extensions.
 The upgrade of chocolatey-windowsupdate.extension was successful.
  Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate'
Progress: Downloading KB2919442 1.0.20160915... 100%

KB2919442 v1.0.20160915 [Approved]
KB2919442 package files upgrade completed. Performing other installation steps.
Skipping installation because this hotfix only applies to Windows 8.1 and Windows Server 2012 R2.
 The upgrade of KB2919442 was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.
Progress: Downloading KB2919355 1.0.20160915... 100%

KB2919355 v1.0.20160915 [Approved]
KB2919355 package files upgrade completed. Performing other installation steps.
Skipping installation because this hotfix only applies to Windows 8.1 and Windows Server 2012 R2.
 The upgrade of KB2919355 was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.
Progress: Downloading KB2999226 1.0.20181019... 100%

KB2999226 v1.0.20181019 [Approved] - Possibly broken
KB2999226 package files upgrade completed. Performing other installation steps.
Skipping installation because update KB2999226 does not apply to this operating system (Microsoft Windows 11 Pro).
 The upgrade of KB2999226 was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.
Progress: Downloading KB3035131 1.0.3... 100%

KB3035131 v1.0.3 [Approved]
KB3035131 package files upgrade completed. Performing other installation steps.
Skipping installation because update KB3035131 does not apply to this operating system (Microsoft Windows 11 Pro).
 The upgrade of KB3035131 was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.
Progress: Downloading KB3033929 1.0.5... 100%

KB3033929 v1.0.5 [Approved]
KB3033929 package files upgrade completed. Performing other installation steps.
Skipping installation because update KB3033929 does not apply to this operating system (Microsoft Windows 11 Pro).
 The upgrade of KB3033929 was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.
Progress: Downloading vcredist140 14.36.32532... 100%

vcredist140 v14.36.32532 [Approved]
vcredist140 package files upgrade completed. Performing other installation steps.
Downloading vcredist140-x86
  from 'https://download.visualstudio.microsoft.com/download/pr/eaab1f82-787d-4fd7-8c73-f782341a0c63/5365A927487945ECB040E143EA770ADBB296074ECE4021B1D14213BDE538C490/VC_redist.x86.exe'
Progress: 100% - Completed download of C:\Users\micro\AppData\Local\Temp\chocolatey\vcredist140\14.36.32532\VC_redist.x86.exe (13.2 MB).
Download of VC_redist.x86.exe (13.2 MB) completed.
Hashes match.
Installing vcredist140-x86...
vcredist140-x86 has been installed.
Downloading vcredist140-x64 64 bit
  from 'https://download.visualstudio.microsoft.com/download/pr/eaab1f82-787d-4fd7-8c73-f782341a0c63/917C37D816488545B70AFFD77D6E486E4DD27E2ECE63F6BBAAF486B178B2B888/VC_redist.x64.exe'
Progress: 100% - Completed download of C:\Users\micro\AppData\Local\Temp\chocolatey\vcredist140\14.36.32532\VC_redist.x64.exe (24.18 MB).
Download of VC_redist.x64.exe (24.18 MB) completed.
Hashes match.
Installing vcredist140-x64...
vcredist140-x64 has been installed.
  vcredist140 may be able to be automatically uninstalled.
 The upgrade of vcredist140 was successful.
  Software installed as 'exe', install location is likely default.
Progress: Downloading vcredist2015 14.0.24215.20170201... 100%

vcredist2015 v14.0.24215.20170201 [Approved]
vcredist2015 package files upgrade completed. Performing other installation steps.
 The upgrade of vcredist2015 was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\vcredist2015'
Progress: Downloading python311 3.11.4... 100%

python311 v3.11.4 [Approved]
python311 package files upgrade completed. Performing other installation steps.
Installing 64-bit python311...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\python311_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\ProgramData\chocolatey\lib\python311\tools\python-3.11.4-amd64.exe" /quiet InstallAllUsers=1 PrependPath=1 TargetDir="C:\Python311" ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\python311_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The upgrade of python311 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\python311\tools\chocolateyInstall.ps1'.
 See log for details.
Progress: Downloading python3 3.11.4... 100%

python3 v3.11.4 [Approved]
python3 package files upgrade completed. Performing other installation steps.
 The upgrade of python3 was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\python3'
Progress: Downloading python 3.11.4... 100%

python v3.11.4 [Approved]
python package files upgrade completed. Performing other installation steps.
 The upgrade of python was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\python'
visualstudio2019-workload-vctools is not installed. Installing...
[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: 'python 3.11.4 constraint: python3 (= 3.11.4)'
Unable to resolve dependency 'kb2919355': Unable to find a version of 'kb2919355' that is compatible with 'dotnetfx 4.7.2 constraint: kb2919355 (>= 1.0.20160915)', 'KB2999226 1.0.20161023 constraint: kb2919355 (>= 1.0.20160915)', 'vcredist140 14.0.23026 constraint: kb2919355 (>= 1.0.20160915)', 'visualstudio2019buildtools 16.0.0 constraint: kb2919355 (>= 1.0.20160915)'.

Chocolatey upgraded 12/14 packages. 2 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Upgraded:
 - chocolatey-compatibility.extension v1.0.0
 - chocolatey-core.extension v1.4.0
 - chocolatey-windowsupdate.extension v1.0.5
 - KB2919355 v1.0.20160915
 - KB2919442 v1.0.20160915
 - KB2999226 v1.0.20181019
 - KB3033929 v1.0.5
 - KB3035131 v1.0.3
 - python v3.11.4
 - python3 v3.11.4
 - vcredist140 v14.36.32532
 - vcredist2015 v14.0.24215.20170201

Packages requiring reboot:
 - vcredist140 (exit code 3010)

The recent package changes indicate a reboot is necessary.
 Please reboot at your earliest convenience.

Failures
 - python311 (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\python311\tools\chocolateyInstall.ps1'.
 See log for details.
 - visualstudio2019-workload-vctools - Unable to resolve dependency 'kb2919355': Unable to find a version of 'kb2919355' that is compatible with 'dotnetfx 4.7.2 constraint: kb2919355 (>= 1.0.20160915)', 'KB2999226 1.0.20161023 constraint: kb2919355 (>= 1.0.20160915)', 'vcredist140 14.0.23026 constraint: kb2919355 (>= 1.0.20160915)', 'visualstudio2019buildtools 16.0.0 constraint: kb2919355 (>= 1.0.20160915)'.

Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
 https://chocolatey.org/compare
Type ENTER to exit:

@gravitiq-cm
Copy link

^ this was part of a node install, but node actually seems to be working ok...

@pauby
Copy link
Member

pauby commented Jul 31, 2023

@gravitiq-cm python311 didn't install correctly and is needed for the python3 package as it's a dependency.

python311 v3.11.4 [Approved]
python311 package files upgrade completed. Performing other installation steps.
Installing 64-bit python311...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\python311_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\ProgramData\chocolatey\lib\python311\tools\python-3.11.4-amd64.exe" /quiet InstallAllUsers=1 PrependPath=1 TargetDir="C:\Python311" ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\python311_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The upgrade of python311 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\python311\tools\chocolateyInstall.ps1'.
 See log for details.
Progress: Downloading python3 3.11.4... 100%
- python311 (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\python311\tools\chocolateyInstall.ps1'.
 See log for details.
... if not the following error(s) may be blocking the current package operation: 'python 3.11.4 constraint: python3 (= 3.11.4)'

Can you reinstall it?

@CWempe
Copy link

CWempe commented Aug 3, 2023

Same issue here.

When I try to upgrade all (cup all -y), I get the depandancy error with keepass.install like in the first post.

When trying to install/update keepass.install I get an error about python311, like @pauby.

image

When trying to install pathon, I get a dependancy error about some KB-packaged an dotnetfx, like #3226.

image

ANd like @gep13 I do not understand how @BananaAcid and @aetonsi solved this issue for themselves. 🤔

@CWempe
Copy link

CWempe commented Aug 3, 2023

I think I solved it for me.

I removed (not really uninstalled) keepass.install.

choco uninstall keepass.install -n --skipautouninstaller  --force

I also reinstalled python, but I am not sure that was necessary.

cup python -y --force

I now have trouble reinstalling keepass.install, but that might be another issue.
At least all other packages seem to upgrade now.

@aetonsi
Copy link

aetonsi commented Aug 3, 2023

yes that's what i did, i removed anything that caused the issue, also checking if the removal really occurred, and in my case, with nodejs, it did not, so i uninstalled via control panel and cleaned up with BCUninstaller. in the end i reinstalled anything i needed.
yes, it's a constant pain having to remove apps like this just in order to update them, in fact i am using choco mostly for tracing of my installs...

@pauby
Copy link
Member

pauby commented Aug 3, 2023

also checking if the removal really occurred, and in my case, with nodejs, it did not,

That will be a package issue, most likely. Not a Chocolatey CLI one.

@aetonsi
Copy link

aetonsi commented Aug 4, 2023

yes yes i know, it was the first time it had happened to me, that a package got uninstalled without any error but the software did not

@aetonsi
Copy link

aetonsi commented Aug 21, 2023

i'm back at it again, and this time i don't know what i can do.... maybe it's just a package problem, i don't know.
i have notepadplusplus blocking itself (as a dependency).
i also uninstalled it (choco uninstall notepadplusplus), checked in appwiz.cpl if it was still there (it wasn't), reinstalled it, then i run a simple choco upgrade all just to test if something changed, but it didn't.
the strange thing is, it thinks that an upgrade actually happened, so it's not even reported at the end of the log (see second code block below).
i'm lost.

notepadplusplus v8.5.5 is the latest version available based on your source(s).

You have notepadplusplus.install v8.5.5 installed. Version 8.5.6 is available based on your source(s).
[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: 'notepadplusplus 8.5.5 constraint: notepadplusplus.install (= 8.5.5)'
Re-attempting package dependency resolution using additional available package information...
[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: 'notepadplusplus 8.5.5 constraint: notepadplusplus.install (= 8.5.5)'
Progress: Downloading notepadplusplus.install 8.5.5... 100%

notepadplusplus.install v8.5.5 [Approved]
notepadplusplus.install package files upgrade completed. Performing other installation steps.
Installing 64-bit notepadplusplus.install...
notepadplusplus.install has been installed.
WARNING: No registry key found based on  'Notepad\+\+*'
notepadplusplus.install installed to 'C:\Program Files\Notepad++'
Added C:\ProgramData\chocolatey\bin\notepad++.exe shim pointed to 'c:\program files\notepad++\notepad++.exe'.
 The upgrade of notepadplusplus.install was successful.
  Software installed as 'exe', install location is likely default.
Chocolatey upgraded 2/142 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Upgraded:
 - notepadplusplus.install v8.5.5
 - protonvpn v3.1.0

Warnings:
 - brave - brave is pinned. Skipping pinned package.
 - GoogleChrome - GoogleChrome is pinned. Skipping pinned package.

Failures
 - skype (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\skype\tools\chocolateyInstall.ps1'.
 See log for details.

@gep13
Copy link
Member

gep13 commented Aug 22, 2023

@aetonsi I looked at this issue last night, but I wasn't in a position to reply to it, but I can now.

I suspect that the issue that you were seeing is due to the 8.5.6 package version of the notepadplusplus package being unapproved, while the 8.5.6 package version of notepadplusplus.install being approved. i.e. there was a mismatch between the required dependency between the two packages.

This problem came down to the fact that the notepadplusplus package had failed the package-verifier. Last night, @TheCakeIsNaOH set the package-verifier to re-run on that package, and it has now been approved.

If you could test again and let us know if you are still seeing the problem. Thanks!

@aetonsi
Copy link

aetonsi commented Aug 22, 2023

@gep13 update fine now. Thanks!

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

No branches or pull requests

7 participants