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
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.
I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
attempting to install package visualstudio2022enterprise choco is failing with the following errors
[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: 'vscode 1.83.1 constraint: vscode.install (= 1.83.1)'
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)'.
i'm not sure what the vscode stuff is about myself...but the red error doesn't seem to make sense as in choco list i see that i have KB2919442 installed with 1.0.20160915
and that should match the constraint.
What is Expected?
the constriant is matched by the installed version and vs enterprise installs successfully.
Chocolatey v2.2.2
Chocolatey is running on Windows v 10.0.19045.0
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install visualstudio2022enterprise --debug --verbose
Received arguments: install visualstudio2022enterprise --debug --verbose
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
Performing validation checks.
Global Configuration Validation Checks:
- Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
Reboot Requirement Checks:
- Pending Computer Rename = Checked
- Pending Component Based Servicing = Checked
- Pending Windows Auto Update = Checked
- Pending File Rename Operations = Ignored
- Pending Windows Package Installer = Checked
- Pending Windows Package Installer SysWow64 = Checked
Cache Folder Lockdown Checks:
- Elevated State = Checked
- Folder Exists = Checked
- Folder lockdown = Failed
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.
The source'https://community.chocolatey.org/api/v2/' evaluated to a 'normal'sourcetype
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
Configuration: CommandName='install'|
CacheLocation='C:\Users\damourc\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://community.chocolatey.org/api/v2/'|SourceType='normal'|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|DisableCompatibilityChecks='False'|
AcceptLicense='False'|AllowUnofficialBuild='False'|
Input='visualstudio2022enterprise'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='visualstudio2022enterprise'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19045.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='damourc'|Information.UserDomainName='NA'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\damourc'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
visualstudio2022enterprise
By installing, you accept licenses for the packages.
Running list with the following filter = ''
--- Start of List ---
Resolving resource PackageSearchResource forsource C:\ProgramData\chocolatey\lib
7zip 23.1.0
7zip.install 23.1.0
azure-cli 2.53.0.20231015
AzureStorageExplorer 5.0.0.20180315
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-visualstudio.extension 1.11.1
chocolatey-windowsupdate.extension 1.0.5
docker-engine 24.0.6
dotnet-6.0-desktopruntime 6.0.23
dotnet-6.0-sdk 6.0.415
dotnet-6.0-sdk-4xx 6.0.415
dotnetfx 4.8.0.20220524
fiddler 5.0.20211.51073
filezilla 3.65.0
git 2.42.0
git.install 2.42.0
GoogleChrome 118.0.5993.71
ilspy 8.1.1
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
KB3063858 1.0.0
KB3118401 1.0.5
maven 3.8.6
microsoftazurestorageexplorer 1.31.1
microsoft-teams 1.6.0.27573
netfx-4.7.2 4.7.2
nvm.portable 1.1.9
openssl 3.1.1
powershell-core 7.3.8
rsat 2.1809.0.20210815
servicebusexplorer 5.0.18
slack 4.34.121
sql-server-management-studio 19.1.56
terraform 1.6.1
vcredist140 14.36.32532
vcredist2015 14.0.24215.20170201
visualstudio2022-workload-azure 1.0.0
visualstudio-installer 2.0.3
vscode 1.83.1
vscode.install 1.82.2
--- End of List ---
Resolving resource ListResource forsource https://community.chocolatey.org/api/v2/
[NuGet] GET https://community.chocolatey.org/api/v2/$metadata
[NuGet] OK https://community.chocolatey.org/api/v2/$metadata 95ms
[NuGet] GET https://community.chocolatey.org/api/v2/Packages()?$filter=(tolower(Id) eq 'visualstudio2022enterprise') and IsLatestVersion&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/Packages()?$filter=(tolower(Id) eq 'visualstudio2022enterprise') and IsLatestVersion&semVerLevel=2.0.0 200ms
Resolving resource DependencyInfoResource forsource https://community.chocolatey.org/api/v2/
[NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='visualstudio2022enterprise',Version='117.7.5')
[NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='visualstudio2022enterprise',Version='117.7.5') 90ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='visualstudio2022enterprise'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='visualstudio2022enterprise'&semVerLevel=2.0.0 439ms
[NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='visualstudio2022enterprise'&$skiptoken='visualstudio2022enterprise','117.6.3.0'
[NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='visualstudio2022enterprise'&$skiptoken='visualstudio2022enterprise','117.6.3.0' 822ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-visualstudio.extension'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-visualstudio.extension'&semVerLevel=2.0.0 205ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='dotnetfx'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='dotnetfx'&semVerLevel=2.0.0 126ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-dotnetfx.extension'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-dotnetfx.extension'&semVerLevel=2.0.0 99ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB2919355'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB2919355'&semVerLevel=2.0.0 99ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB2919442'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB2919442'&semVerLevel=2.0.0 99ms
[NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB2919442'&semVerLevel=2.0.0
[NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-dotnetfx.extension'&semVerLevel=2.0.0
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB4019990'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='KB4019990'&semVerLevel=2.0.0 99ms
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-windowsupdate.extension'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-windowsupdate.extension'&semVerLevel=2.0.0 118ms
[NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-windowsupdate.extension'&semVerLevel=2.0.0
[NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='visualstudio-installer'&semVerLevel=2.0.0
[NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='visualstudio-installer'&semVerLevel=2.0.0 108ms
[NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-visualstudio.extension'&semVerLevel=2.0.0
[NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-visualstudio.extension'&semVerLevel=2.0.0
[NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey-visualstudio.extension'&semVerLevel=2.0.0
[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: 'vscode 1.83.1 constraint: vscode.install (= 1.83.1)'
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)'.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- visualstudio2022enterprise - 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)'.
Additional Context
i read through #3234 and https://docs.chocolatey.org/en-us/choco/troubleshooting/dependency-troubles and found it funny that this EXACT constraint error is presented in those docs in example 2, however it's not addressed directly, instead an intermediate KB needed by the root package is installed with choco install KB2999226 --ignore-dependencies which then allows the intended package to be installed with the note "we attempt to run choco install KB2919442. We see that this one is actually already installed, so we attempt to install glab again." and ignores what i believe to be the fact that the constraint was already satisfied
i am concerned running the final app install with --ignore-dependencies as the before mentioned doc doesn't do that with the final install of glab, only intermediate stuff....and it from what i can tell this looks more like a bug nin the constraint evaluations than the issue described in that article. so i'm opening this issue.
The text was updated successfully, but these errors were encountered:
Your actual problem is 'vscode 1.83.1 constraint: vscode.install (= 1.83.1)', as you have vscode v1.83.1 installed, but vscode.install v1.83.2 is installed, which fails as it is an exact version dependency. As pauby suggested, ask on Discord if you have further questions.
Your actual problem is 'vscode 1.83.1 constraint: vscode.install (= 1.83.1)', as you have vscode v1.83.1 installed, but vscode.install v1.83.2 is installed, which fails as it is an exact version dependency. As pauby suggested, ask on Discord if you have further questions.
@TheCakeIsNaOH u of course were dead on. I def let my american red is bad yellow is warn take over my debugging brain there and feel shame. lesson learned, thanks!
Checklist
What You Are Seeing?
attempting to install package visualstudio2022enterprise choco is failing with the following errors
[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: 'vscode 1.83.1 constraint: vscode.install (= 1.83.1)'
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)'.
i'm not sure what the vscode stuff is about myself...but the red error doesn't seem to make sense as in choco list i see that i have KB2919442 installed with 1.0.20160915
and that should match the constraint.
What is Expected?
the constriant is matched by the installed version and vs enterprise installs successfully.
How Did You Get This To Happen?
System Details
Installed Packages
Output Log
Additional Context
i read through #3234 and https://docs.chocolatey.org/en-us/choco/troubleshooting/dependency-troubles and found it funny that this EXACT constraint error is presented in those docs in example 2, however it's not addressed directly, instead an intermediate KB needed by the root package is installed with
choco install KB2999226 --ignore-dependencies
which then allows the intended package to be installed with the note "we attempt to run choco install KB2919442. We see that this one is actually already installed, so we attempt to install glab again." and ignores what i believe to be the fact that the constraint was already satisfiedi am concerned running the final app install with --ignore-dependencies as the before mentioned doc doesn't do that with the final install of glab, only intermediate stuff....and it from what i can tell this looks more like a bug nin the constraint evaluations than the issue described in that article. so i'm opening this issue.
The text was updated successfully, but these errors were encountered: