Chocolatey-coreteampackages: (notepadplusplus.install) Version 7.1 cannot install x64 version

Created on 19 Oct 2016  路  6Comments  路  Source: chocolatey-community/chocolatey-coreteampackages

Version 7.0 installed the x64 version of NotePad++, but version 7.1 installed the x86 version.
There is no option to detect or force the x64 version of NotePad++.

Most helpful comment

Please have another look at this fix. According to the discussions at https://chocolatey.org/packages/notepadplusplus and the red log in my shell this update broke something:

You have notepadplusplus.install v7.1 installed. Version 7.1.0.20161020 is available based on your source(s).
notepadplusplus.install not upgraded. An error occurred during installation:
Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.
notepadplusplus.install package files upgrade completed. Performing other installation steps.
The upgrade of notepadplusplus.install was NOT successful.
notepadplusplus.install not upgraded. An error occurred during installation:
Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.

All 6 comments

The wrong package was pushed. Obviously, some other automation routine did it, I guess @ferventcoder probably fixed this:

https://github.com/ferventcoder/chocolatey-packages/pull/192

That package should be unlisted IMO.

Reference: https://gist.github.com/gep13/bd2eaa76f2a9ab739ca0544c502dca6e#notepadplusplus

(official AU report complains about it)

@gep13 What is showing on the Chocolatey page for Notepad++ (Install) 7.1

tools\chocolateyInstall.ps1 Hide
Install-ChocolateyPackage 'notepadplusplus' 'exe' '/S' 'https://notepad-plus-plus.org/repository/7.x/7.1/npp.7.1.Installer.exe'

I don't think is this right, but it installed the 32bit version on my system also, but according to @majkinetor link for updates
New version is available but it already exists in the Chocolatey community feed (disable using $NoCheckChocoVersion): https://chocolatey.org/packages/notepadplusplus/7.1
This I'm sure can be fixed, but a interesting problem has been made by chocolatey. One that I think should not have been made by chocolatey. I believe chocolatey should have detected that the package was off for a 64bit system, and flagged the update even with the -y switch. This is just food for thought.

I would say there should likely be a 7.1.0.20161020

Please have another look at this fix. According to the discussions at https://chocolatey.org/packages/notepadplusplus and the red log in my shell this update broke something:

You have notepadplusplus.install v7.1 installed. Version 7.1.0.20161020 is available based on your source(s).
notepadplusplus.install not upgraded. An error occurred during installation:
Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.
notepadplusplus.install package files upgrade completed. Performing other installation steps.
The upgrade of notepadplusplus.install was NOT successful.
notepadplusplus.install not upgraded. An error occurred during installation:
Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.

Same issue as @NicoHaase:

Chocolatey v0.10.3
Chocolatey is running on Windows v 10.0.14393.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" upgrade notepadplusplus.install -ydv
Received arguments: upgrade notepadplusplus.install -ydv
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...
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type

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='upgrade'|
CacheLocation='C:\Users\Joseph\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Force='False'|Noop='False'|
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='notepadplusplus.install'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='notepadplusplus.install'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.14393.0'|
Information.PlatformName='Windows'|
Information.ChocolateyVersion='0.10.3.0'|
Information.ChocolateyProductVersion='0.10.3'|
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
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.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
_ Chocolatey:ChocolateyUpgradeCommand - Normal Run Mode _
Upgrading the following packages:
notepadplusplus.install
By upgrading you accept licenses for the packages.

You have notepadplusplus.install v7.1 installed. Version 7.1.0.20161020 is available based on your source(s).
Backing up existing notepadplusplus.install prior to operation.
Moving 'C:\ProgramData\chocolatey\lib\notepadplusplus.install'
 to 'C:\ProgramData\chocolatey\lib-bkp\notepadplusplus.install'
Attempting to create directory "C:\ProgramData\chocolatey\lib\notepadplusplus.install".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\notepadplusplus.install\notepadplusplus.install.nupkg"
 to "C:\ProgramData\chocolatey\lib\notepadplusplus.install\notepadplusplus.install.nupkg".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\notepadplusplus.install\notepadplusplus.install.nuspec"
 to "C:\ProgramData\chocolatey\lib\notepadplusplus.install\notepadplusplus.install.nuspec".
Attempting to create directory "C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\notepadplusplus.install\tools\chocolateyInstall.ps1"
 to "C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1".
Capturing package files in 'C:\ProgramData\chocolatey\lib\notepadplusplus.install'
 Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\notepadplusplus.install.nupkg'
  with checksum '1634F0453193270ACC4E647D7E28C0DE'
 Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\notepadplusplus.install.nuspec'
  with checksum '86F2658B4A6163220787428009BDD092'
 Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1'
  with checksum '4339B290D21A99F2B758BD7926B94325'
notepadplusplus.install not upgraded. An error occurred during installation:
 Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.
notepadplusplus.install package files upgrade completed. Performing other installation steps.
Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.1.0.20161020".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.1.0.20161020\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.1.0.20161020\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\notepadplusplus.install".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The upgrade of notepadplusplus.install was NOT successful.
notepadplusplus.install not upgraded. An error occurred during installation:
 Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.
Moving 'C:\ProgramData\chocolatey\lib\notepadplusplus.install'
 to 'C:\ProgramData\chocolatey\lib-bad\notepadplusplus.install'
Attempting rollback
Moving 'C:\ProgramData\chocolatey\lib-bkp\notepadplusplus.install'
 to 'C:\ProgramData\chocolatey\lib\notepadplusplus.install'

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - notepadplusplus.install (exited 1) - notepadplusplus.install not upgraded. An error occurred during installation:
 Updating 'notepadplusplus.install 7.1' to 'notepadplusplus.install 7.1.0.20161020' failed. Unable to find a version of 'notepadplusplus' that is compatible with 'notepadplusplus.install 7.1.0.20161020'.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with 1
Was this page helpful?
0 / 5 - 0 ratings