-
This discussion is being used to capture any issues related to the usage of the alpha versions for the various Chocolatey Components, that are going to support NuGet v3 feeds, as well as .NET Framework 4.8.
If you find an issue with any of these pre-release packages, please first check the known issues list below, and if it is not already covered, add an answer to the discussion below and we can discuss further. Known IssuesThe following lists, which will be added to as any new issues are discovered, are of known issues with the pre-release version of Chocolatey CLI, Chocolatey GUI, Chocolatey Licensed Extension, Chocolatey GUI Licensed Extension, and Chocolatey Agent. This is not intended to provide full details on the issues, but if more information is required to make things clear, please reach out and we can provide additional information.
Chocolatey CLI
2.0.0-beta-20230426
2.0.0-beta-20230412
2.0.0-beta-20230321
2.0.0-alpha-20230307
2.0.0-alpha-20230221
2.0.0-alpha-20230124
Chocolatey GUI2.0.0-beta-20230412
2.0.0-beta-20230412
2.0.0-beta-20230321
2.0.0-alpha-20230307
2.0.0-alpha-20230221
Chocolatey Licensed Extension6.0.0-beta-20230426
6.0.0-beta-20230412
6.0.0-beta-20230321
6.0.0-alpha-20230307
6.0.0-alpha-20230221
Chocolatey GUI Licensed Extension2.0.0-beta-20230426
2.0.0-beta-20230412
2.0.0-beta-20230321
2.0.0-alpha-20230221
Chocolatey Agent2.0.0-beta-20230426
2.0.0-beta-20230412
2.0.0-beta-20230321
2.0.0-alpha-20230221
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 24 replies
-
If the absolute latest version of a not installed dependency is prerelease, the prerelease version will be installed, even if there is a release version available that would satisfy the version contraints. Example: |
Beta Was this translation helpful? Give feedback.
-
2.0.0-alpha-20230307 seems to have broken installation from v3 sources, it just says "The source ... failed to get a NuGet.Protocol.Core.Types.ListResource resource" Not entirely sure what that means, but the source in question supports everything that is specified as "required" in NuGet V3 API documentation: https://learn.microsoft.com/en-us/nuget/api/overview#resources-and-schema Also works fine with 2.0.0-alpha-20230221 and 2.0.0-alpha-20230124. |
Beta Was this translation helpful? Give feedback.
-
I'm running into an issue related to upper/lowercase that I cannot replicate on 1.x. Tested on If the package name does not conform with the actual This is problematic because Chocolatey Puppet Module uses this to check for newer versions when a package is set to
DISCLAIMER: We're using Using When using lowercase > choco.exe upgrade --noop 7zip -r
7zip|22.1|22.1.0|false When using UPPERCASE > choco.exe upgrade --noop 7Zip -r
Chocolatey would have used NuGet to install packages (if they are not already installed):
7Zip
chocolatey-compatibility.extension v1.0.0
Progress: Downloading chocolatey-core.extension 1.4.0... 100%
chocolatey-core.extension v1.4.0
7zip.install v22.1.0
Would have run 'chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$filePath = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne $true) {
Write-Host "Installing 64 bit version" ; Get-Item $toolsDir\*_x64.exe }
else { Write-Host "Installing 32 bit version" ; Get-Item $toolsDir\*_x32.exe }
$packageArgs = @{
packageName = '7zip.install'
fileType = 'exe'
softwareName = '7-zip*'
file = $filePath
silentArgs = '/S'
validExitCodes = @(0)
}
Install-ChocolateyInstallPackage @packageArgs
Remove-Item $toolsDir\*.exe -ea 0 -force
$installLocation = Get-AppInstallLocation $packageArgs.softwareName
if (!$installLocation) { Write-Warning "Can't find 7zip install location"; return }
Write-Host "7zip installed to '$installLocation'"
Install-BinFile '7z' $installLocation\7z.exe
Progress: Downloading 7zip 22.1.0... 100%
7zip v22.1.0 EDIT:
Does |
Beta Was this translation helpful? Give feedback.
-
Weirdly enough, 2.0.0-beta-20230321 as well as subsequent versions still exibit the V3 sources issue:
2.0.0-alpha-20230221 continues to work fine. I should've probably validated this earlier, sorry. |
Beta Was this translation helpful? Give feedback.
-
Was it intended to make the 2.0.0 release (https://github.com/chocolatey/choco/releases/tag/2.0.0)? It has no downloads and 2.0.0-beta-20230426 remains to be the latest version according to community.chocolatey.org |
Beta Was this translation helpful? Give feedback.
-
Now that the stable releases of the Chocolatey products have shipped, I am going to close out this discussion. If you continue to run into problems, you can join in on this discussion: |
Beta Was this translation helpful? Give feedback.
Now that the stable releases of the Chocolatey products have shipped, I am going to close out this discussion.
If you continue to run into problems, you can join in on this discussion:
#3173