Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
server-jre10 v10.0.1 - Passed - Package Tests Results

server-jre10 v10.0.1 - Passed - Package Test Results

  • https://chocolatey.org/packages/server-jre10/10.0.1
  • Tested 12 Jul 2020 02:56:14 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-38-g3187e94
  • Install was successful.
  • Uninstall failed (allowed). Note that the process may have hung, indicating a not completely silent uninstall. This is usually seen when the last entry in the log is calling the uninstall. This can also happen when a window pops up and needs to be closed to continue.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\server-jre10\server-jre10.nupkg" checksum="C2DD80F8B41BB4E95FCCE72C3552D58F" />
<file path="C:\ProgramData\chocolatey\lib\server-jre10\server-jre10.nuspec" checksum="8C5E3253DE26BA4C48287EFCD79DEC06" />
<file path="C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1" checksum="FA670294A4210B819EC4BB50F3E22CF4" />
<file path="C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyUninstall.ps1" checksum="86DFA3A1D1C320EEAD986497DDBA6048" />
</files>
</fileSnapshot>
2020-07-04 02:14:29,317 2320 [DEBUG] - XmlConfiguration is now operational
2020-07-04 02:14:29,489 2320 [INFO ] - ============================================================
2020-07-04 02:14:30,241 2320 [INFO ] - Chocolatey v0.10.15
2020-07-04 02:14:30,271 2320 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-04 02:14:30,289 2320 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-04 02:14:30,289 2320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-04 02:14:30,351 2320 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install server-jre10 --version 10.0.1 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-04 02:14:30,367 2320 [DEBUG] - Received arguments: install server-jre10 --version 10.0.1 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-04 02:14:30,506 2320 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-04 02:14:30,521 2320 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-04 02:14:30,552 2320 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-04 02:14:30,708 2320 [DEBUG] - Performing validation checks.
2020-07-04 02:14:30,739 2320 [DEBUG] - Global Configuration Validation Checks:
2020-07-04 02:14:30,739 2320 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-04 02:14:30,739 2320 [DEBUG] - System State Validation Checks:
2020-07-04 02:14:30,756 2320 [DEBUG] - Reboot Requirement Checks:
2020-07-04 02:14:30,756 2320 [DEBUG] - - Pending Computer Rename = Checked
2020-07-04 02:14:30,770 2320 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-04 02:14:30,770 2320 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-04 02:14:30,770 2320 [DEBUG] - - Pending File Rename Operations = Ignored
2020-07-04 02:14:30,786 2320 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-04 02:14:30,802 2320 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-04 02:14:30,817 2320 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-04 02:14:30,817 2320 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-04 02:14:30,834 2320 [DEBUG] -
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.
2020-07-04 02:14:30,864 2320 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='server-jre10'|Version='10.0.1'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='server-jre10'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
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'|
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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-07-04 02:14:30,864 2320 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-07-04 02:14:30,880 2320 [INFO ] - Installing the following packages:
2020-07-04 02:14:30,895 2320 [INFO ] - server-jre10
2020-07-04 02:14:30,895 2320 [INFO ] - By installing you accept licenses for the packages.
2020-07-04 02:14:30,912 2320 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-04 02:14:30,912 2320 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:14:30,912 2320 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:14:30,927 2320 [DEBUG] - * 'ChocolateyLastPathUpdate'='132383023132424130' ('User')
2020-07-04 02:14:30,927 2320 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-04 02:14:30,927 2320 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-04 02:14:30,927 2320 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-07-04 02:14:30,927 2320 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-04 02:14:30,944 2320 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:14:30,944 2320 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-04 02:14:30,944 2320 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-04 02:14:30,944 2320 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-04 02:14:30,944 2320 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:14:30,958 2320 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-04 02:14:30,958 2320 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-04 02:14:30,958 2320 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-04 02:14:30,958 2320 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-04 02:14:30,958 2320 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-04 02:14:30,974 2320 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-04 02:14:30,974 2320 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-04 02:14:30,974 2320 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-04 02:14:34,145 2320 [INFO ] - [NuGet] Installing 'server-jre10 10.0.1'.
2020-07-04 02:14:34,162 2320 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'server-jre10\tools'.
2020-07-04 02:14:34,162 2320 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'server-jre10\tools'.
2020-07-04 02:14:34,177 2320 [DEBUG] - [NuGet] Added file 'server-jre10.nupkg' to folder 'server-jre10'.
2020-07-04 02:14:34,520 2320 [DEBUG] - [NuGet] Added file 'server-jre10.nuspec' to folder 'server-jre10'.
2020-07-04 02:14:34,520 2320 [INFO ] - [NuGet] Successfully installed 'server-jre10 10.0.1'.
2020-07-04 02:14:34,536 2320 [INFO ] -
server-jre10 v10.0.1 (forced) [Approved] - Possibly broken
2020-07-04 02:14:34,584 2320 [INFO ] - server-jre10 package files install completed. Performing other installation steps.
2020-07-04 02:14:34,724 2320 [DEBUG] - Setting installer args for server-jre10
2020-07-04 02:14:34,755 2320 [DEBUG] - Setting package parameters for server-jre10
2020-07-04 02:14:34,755 2320 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1':
2020-07-04 02:14:34,787 2320 [DEBUG] - $packageName = $env:chocolateyPackageName
# The buildNumber should be easier to determine or pass from the nuspec
$buildNumber = "10"
$checksum = "a40ccda1522af64a4d1954b9ed517d3d94187a6a145247e5732eef0fd555b27b"
$downloadHash= "fb4372174a714e6b8c52526dc134031e"
# Discard any -pre/-beta/-testing appended to avoid releasing an unfinished on Chocolatey.org
$semanticVersion = $env:chocolateyPackageVersion.Split("-")[0]
#9.0.xx to jdk1.9.0_xx
$versionArray = $semanticVersion.Split(".")
$majorVersion = $versionArray[0]
$minorVersion = $versionArray[1]
$updateVersion = $versionArray[2]
$folderVersion = "jdk1.$majorVersion.$($minorVersion)_$updateVersion"
$fileNameBase = "serverjre-$($majorVersion).$($minorVersion).$($updateVersion)_windows-x64_bin"
$fileName = "$fileNameBase.tar.gz"
$url = "http://download.oracle.com/otn-pub/java/jdk/$($majorVersion).$($minorVersion).$($updateVersion)+$($buildNumber)/$downloadHash/$fileName"
#$url = "http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/serverjre-9.0.4_windows-x64_bin.tar.gz"
$osBitness = Get-ProcessorBits
# 32-bit not supported
if ($osBitness -eq 32) {
Throw "The package $packageName is only available for 64-bit architectures"
}
$arguments = @{}
# Now we can use the $env:chocolateyPackageParameters inside the Chocolatey package
$packageParameters = $env:chocolateyPackageParameters
# Default value
# uses deprecated Get-BinRoot
#$InstallationPath = Join-Path (Get-BinRoot) "Java/server-jre"
$InstallationPath = Join-Path (Get-ToolsLocation) "Java/server-jre"
$ForceEnvVars = $false
$EnvVariableType = "Machine"
# Now parse the packageParameters using good old regular expression
if ($packageParameters) {
$match_pattern = "\/(?<option>([a-zA-Z0-9]+)):(?<value>([`"'])?([a-zA-Z0-9- \(\)\s_\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
$option_name = 'option'
$value_name = 'value'
if ($packageParameters -match $match_pattern ){
$results = $packageParameters | Select-String $match_pattern -AllMatches
$results.matches | % {
$arguments.Add(
$_.Groups[$option_name].Value.Trim(),
$_.Groups[$value_name].Value.Trim())
}
}
else
{
Throw "Package Parameters were found but were invalid (REGEX Failure)"
}
if ($arguments.ContainsKey("InstallationPath")) {
Write-Host "InstallationPath Argument Found"
$InstallationPath = $arguments["InstallationPath"]
}
if ($arguments.ContainsKey("Force")) {
Write-Host "Force Argument Found"
$ForceEnvVars = $true
}
if ($arguments.ContainsKey("User")) {
Write-Host "User Argument Found"
$EnvVariableType = "User"
}
} else {
Write-Debug "No Package Parameters Passed in"
}
Write-Debug "Installing to $InstallationPath, Params: ForceEnvVars=$ForceEnvVars, EnvVariableType=$EnvVariableType"
# Future state, write install options file to use in uninstall (ie /Machine or /User /InstallationPath)
# This would be easier if installed with Install-ChocolateyZipFile and writing the parameters to $toolsDir aka Invocation.
#Create Temp Folder
$chocTempDir = Join-Path $env:TEMP "chocolatey"
$tempDir = Join-Path $chocTempDir "$packageName"
if ($env:packageVersion -ne $null) {$tempDir = Join-Path $tempDir "$env:packageVersion"; }
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
$tarGzFile = "$tempDir\$fileName"
$tarFile = "$tempDir\$fileNameBase.tar"
if ([System.IO.File]::Exists($tarGzFile)) {
Write-Debug "Checking if existing file $tarGzFile matches checksum"
#Check sum of existing file
Try {
Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256 -ErrorAction Stop
}
Catch{
Write-Debug "Checksum failed, deleting old file $tarGzFile"
Remove-Item $tarGzFile
}
}
# Added some .NET code to remove the dependency on wget
# If chocolatey >= 0.9.10 could use Get-ChocolateyWebFile with $options
# Currently investigating a bug where it doesn't seem to pass the cookie in properly
#if ($env:ChocolateyVersion -gt "0.9.10") {
#$options =
#@{
# Headers = @{
# Cookie = " oraclelicense=accept-securebackup-cookie";
# }
#}
#
#Write-Debug "Downloading file $tarGzFile using Get-ChocolateyWebFile"
#Get-ChocolateyWebFile -PackageName $packageName -FileFullPath $tarGzFile -Url $url -Checksum $checksum -ChecksumType SHA256 -Options $options
# } # End Get-ChocolateyWebFile
#
# } else {
# Native .NET download for choco < 0.9.10
Write-Debug "Downloading file $tarGzFile using System.Net.WebClient"
$wc = New-Object System.Net.WebClient
$wc.Headers.Add([System.Net.HttpRequestHeader]::Cookie, "oraclelicense=accept-securebackup-cookie");
$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
$wc.DownloadFile($url, $tarGzFile)
Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256
# } # End native .NET block
# Wget dependency block {
#if (![System.IO.File]::Exists($tarGzFile)) {
# $wget = Join-Path "$env:ChocolateyInstall" '\bin\wget.exe'
# Write-Debug "wget found at `'$wget`'"
#
# #Download file. Must set Cookies to accept license
# Write-Debug "Downloading file $tarGzFile"
# .$wget --quiet --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $url -O $tarGzFile
# Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256
#}
# } # End wget dependency block
#Extract gz to .tar File
Get-ChocolateyUnzip $tarGzFile $tempDir
#Extract tar to destination
Get-ChocolateyUnzip $tarFile $InstallationPath
$newJavaHome = Join-Path $InstallationPath $folderVersion
$oldJavaHome = Get-EnvironmentVariable "JAVA_HOME" $EnvVariableType
if(($oldJavaHome -eq "") -or $ForceEnvVars) {
Write-Host "Setting JAVA_HOME to $newJavaHome"
Install-ChocolateyEnvironmentVariable -variableName "JAVA_HOME" -variableValue $newJavaHome -variableType $EnvVariableType
}
else {
Write-Debug "JAVA_HOME already set to $oldJavaHome."
}
# Need to do an existance check to see if the variable version is already in PATH
Install-ChocolateyPath '%JAVA_HOME%\bin' $EnvVariableType
Get-EnvironmentVariable -Name 'PATH' -Scope $EnvVariableType -PreserveVariables
#Remove-Item -Recurse $tempDir
2020-07-04 02:14:34,848 2320 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-07-04 02:14:34,864 2320 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-04 02:14:35,678 2320 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-04 02:14:36,068 2320 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-04 02:14:36,068 2320 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-04 02:14:36,068 2320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-04 02:14:36,084 2320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-04 02:14:36,145 2320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-04 02:14:36,145 2320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-04 02:14:36,145 2320 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-04 02:14:36,161 2320 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-04 02:14:36,161 2320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-04 02:14:36,161 2320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:14:36,161 2320 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-04 02:14:36,161 2320 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-04 02:14:36,177 2320 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-04 02:14:36,177 2320 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-04 02:14:36,177 2320 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-04 02:14:36,177 2320 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-04 02:14:36,177 2320 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-04 02:14:36,192 2320 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-04 02:14:36,192 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:14:36,192 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:14:36,192 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:14:36,192 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:14:36,209 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:14:36,209 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-04 02:14:36,209 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-04 02:14:36,209 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:14:36,223 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:14:36,223 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-04 02:14:36,223 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:14:36,223 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-04 02:14:36,240 2320 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-04 02:14:36,240 2320 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-04 02:14:36,240 2320 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-04 02:14:36,240 2320 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:14:36,256 2320 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-04 02:14:36,256 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-04 02:14:36,256 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:14:36,270 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:14:36,270 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:14:36,270 2320 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-04 02:14:36,270 2320 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-04 02:14:36,308 2320 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-04 02:14:36,308 2320 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-04 02:14:36,317 2320 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-04 02:14:36,317 2320 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-04 02:14:36,317 2320 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-04 02:14:36,317 2320 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-04 02:14:36,333 2320 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-04 02:14:36,333 2320 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-04 02:14:36,333 2320 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-04 02:14:36,333 2320 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:14:36,349 2320 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-04 02:14:36,349 2320 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-04 02:14:36,380 2320 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-04 02:14:36,380 2320 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-04 02:14:36,395 2320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-04 02:14:36,395 2320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-04 02:14:36,411 2320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-04 02:14:36,411 2320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-04 02:14:36,411 2320 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-04 02:14:36,411 2320 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-04 02:14:36,427 2320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-04 02:14:36,427 2320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:14:36,427 2320 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-04 02:14:36,427 2320 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-04 02:14:36,442 2320 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-04 02:14:36,442 2320 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-04 02:14:36,442 2320 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-04 02:14:36,442 2320 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-04 02:14:36,442 2320 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-04 02:14:36,459 2320 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-04 02:14:36,459 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:14:36,459 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:14:36,459 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:14:36,474 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:14:36,474 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:14:36,474 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-04 02:14:36,474 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-04 02:14:36,490 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:14:36,490 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:14:36,490 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-04 02:14:36,490 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:14:36,514 2320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-04 02:14:36,514 2320 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-04 02:14:36,521 2320 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-04 02:14:36,521 2320 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-04 02:14:36,521 2320 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:14:36,521 2320 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-04 02:14:36,539 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-04 02:14:36,539 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:14:36,539 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:14:36,539 2320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:14:36,552 2320 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-04 02:14:36,552 2320 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-04 02:14:36,552 2320 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-04 02:14:36,569 2320 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-04 02:14:36,569 2320 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-04 02:14:36,569 2320 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-04 02:14:36,569 2320 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-04 02:14:36,583 2320 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-04 02:14:36,583 2320 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-04 02:14:36,583 2320 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-04 02:14:36,583 2320 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-04 02:14:36,583 2320 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:14:36,601 2320 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-04 02:14:36,601 2320 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-04 02:14:36,601 2320 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-04 02:14:36,615 2320 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-04 02:14:36,615 2320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-04 02:14:36,615 2320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-04 02:14:36,615 2320 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-04 02:14:36,630 2320 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-04 02:14:36,630 2320 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-04 02:14:36,630 2320 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-04 02:14:36,630 2320 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-04 02:14:36,630 2320 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:14:36,647 2320 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-04 02:14:36,647 2320 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-04 02:14:36,647 2320 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-04 02:14:36,647 2320 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-04 02:14:36,668 2320 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-04 02:14:36,668 2320 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-04 02:14:36,668 2320 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-04 02:14:36,677 2320 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-04 02:14:36,677 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:14:36,677 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:14:36,677 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:14:36,694 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:14:36,694 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:14:36,694 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-04 02:14:36,694 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-04 02:14:36,708 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:14:36,708 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:14:36,708 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-04 02:14:36,708 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:14:36,725 2320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-04 02:14:36,725 2320 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-04 02:14:36,725 2320 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-04 02:14:36,725 2320 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-04 02:14:36,740 2320 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:14:36,740 2320 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-04 02:14:36,740 2320 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-04 02:14:36,740 2320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:14:36,758 2320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:14:36,758 2320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:14:36,758 2320 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-04 02:14:36,770 2320 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-04 02:14:36,770 2320 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-04 02:14:36,770 2320 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-04 02:14:36,770 2320 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-04 02:14:36,770 2320 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-04 02:14:36,786 2320 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-04 02:14:36,786 2320 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-04 02:14:36,786 2320 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-04 02:14:36,786 2320 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-04 02:14:36,802 2320 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:14:36,802 2320 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-04 02:14:36,802 2320 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-04 02:14:36,802 2320 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-04 02:14:36,927 2320 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-04 02:14:36,927 2320 [DEBUG] - Running 'ChocolateyScriptRunner' for server-jre10 v10.0.1 with packageScript 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\server-jre10', installArguments: '', packageParameters: '',
2020-07-04 02:14:36,974 2320 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1'
2020-07-04 02:14:37,084 2320 [DEBUG] - Running Get-ProcessorBits
2020-07-04 02:14:37,131 2320 [DEBUG] - Running Get-ToolsLocation
2020-07-04 02:14:37,302 2320 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2020-07-04 02:14:37,395 2320 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2020-07-04 02:14:37,443 2320 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2020-07-04 02:14:40,976 2320 [DEBUG] - Running Update-SessionEnvironment
2020-07-04 02:14:40,976 2320 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-07-04 02:14:41,520 2320 [DEBUG] - No Package Parameters Passed in
2020-07-04 02:14:41,544 2320 [DEBUG] - Installing to C:\tools\Java\server-jre, Params: ForceEnvVars=False, EnvVariableType=Machine
2020-07-04 02:14:41,568 2320 [DEBUG] - Downloading file C:\Users\Administrator\AppData\Local\Temp\chocolatey\server-jre10\10.0.1\serverjre-10.0.1_windows-x64_bin.tar.gz using System.Net.WebClient
2020-07-04 02:14:45,287 2320 [ERROR] - ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1: line 124
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-07-04 02:14:45,287 2320 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2020-07-04 02:14:45,301 2320 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-04 02:14:45,380 2320 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-04 02:14:45,411 2320 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-07-04 02:14:45,411 2320 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-07-04 02:14:45,411 2320 [DEBUG] - * ChocolateyLastPathUpdate='132383024807888393' (User)
2020-07-04 02:14:45,427 2320 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2020-07-04 02:14:45,630 2320 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre10'
2020-07-04 02:14:45,645 2320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre10\server-jre10.nupkg'
with checksum 'C2DD80F8B41BB4E95FCCE72C3552D58F'
2020-07-04 02:14:45,645 2320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre10\server-jre10.nuspec'
with checksum '8C5E3253DE26BA4C48287EFCD79DEC06'
2020-07-04 02:14:45,645 2320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1'
with checksum 'FA670294A4210B819EC4BB50F3E22CF4'
2020-07-04 02:14:45,645 2320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyUninstall.ps1'
with checksum '86DFA3A1D1C320EEAD986497DDBA6048'
2020-07-04 02:14:45,692 2320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1".
2020-07-04 02:14:45,709 2320 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1\.files'
2020-07-04 02:14:45,724 2320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1\.arguments".
2020-07-04 02:14:45,724 2320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1\.extra".
2020-07-04 02:14:45,724 2320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1\.version".
2020-07-04 02:14:45,739 2320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1\.sxs".
2020-07-04 02:14:45,739 2320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre10.10.0.1\.pin".
2020-07-04 02:14:45,739 2320 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-07-04 02:14:45,756 2320 [ERROR] - The install of server-jre10 was NOT successful.
2020-07-04 02:14:45,756 2320 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1'.
See log for details.
2020-07-04 02:14:45,771 2320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2020-07-04 02:14:45,771 2320 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\server-jre10'
to 'C:\ProgramData\chocolatey\lib-bad\server-jre10'
2020-07-04 02:14:47,801 2320 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\server-jre10.10.0.1.nupkg".
2020-07-04 02:14:47,864 2320 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-04 02:14:47,881 2320 [INFO ] -
2020-07-04 02:14:47,895 2320 [ERROR] - Failures
2020-07-04 02:14:47,895 2320 [ERROR] - - server-jre10 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\server-jre10\tools\chocolateyInstall.ps1'.
See log for details.
2020-07-04 02:14:47,895 2320 [WARN ] -
Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, keeps Chocolatey tip top,
plus it nets you some awesome features!
https://chocolatey.org/compare
2020-07-04 02:14:47,911 2320 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-04 02:14:47,974 2320 [DEBUG] - Exiting with -1
2020-07-04 02:15:23,349 2280 [DEBUG] - XmlConfiguration is now operational
2020-07-04 02:15:23,536 2280 [INFO ] - ============================================================
2020-07-04 02:15:24,224 2280 [INFO ] - Chocolatey v0.10.15
2020-07-04 02:15:24,255 2280 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-04 02:15:24,255 2280 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-04 02:15:24,270 2280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-04 02:15:24,286 2280 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall server-jre10 --version 10.0.1 -dvy --execution-timeout=5400
2020-07-04 02:15:24,302 2280 [DEBUG] - Received arguments: uninstall server-jre10 --version 10.0.1 -dvy --execution-timeout=5400
2020-07-04 02:15:24,474 2280 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-04 02:15:24,489 2280 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-04 02:15:24,520 2280 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-04 02:15:24,661 2280 [DEBUG] - Performing validation checks.
2020-07-04 02:15:24,677 2280 [DEBUG] - Global Configuration Validation Checks:
2020-07-04 02:15:24,692 2280 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-04 02:15:24,692 2280 [DEBUG] - System State Validation Checks:
2020-07-04 02:15:24,708 2280 [DEBUG] - Reboot Requirement Checks:
2020-07-04 02:15:24,708 2280 [DEBUG] - - Pending Computer Rename = Checked
2020-07-04 02:15:24,723 2280 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-04 02:15:24,723 2280 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-04 02:15:24,723 2280 [DEBUG] - - Pending File Rename Operations = Ignored
2020-07-04 02:15:24,739 2280 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-04 02:15:24,739 2280 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-04 02:15:24,755 2280 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-04 02:15:24,755 2280 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-04 02:15:24,770 2280 [DEBUG] -
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.
2020-07-04 02:15:24,802 2280 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='server-jre10'|Version='10.0.1'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='server-jre10'|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='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
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'|
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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-07-04 02:15:24,802 2280 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-07-04 02:15:24,818 2280 [INFO ] - Uninstalling the following packages:
2020-07-04 02:15:24,832 2280 [INFO ] - server-jre10
2020-07-04 02:15:24,848 2280 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-04 02:15:24,848 2280 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:15:24,848 2280 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:15:24,848 2280 [DEBUG] - * 'ChocolateyLastPathUpdate'='132383024807888393' ('User')
2020-07-04 02:15:24,864 2280 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2020-07-04 02:15:24,864 2280 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-04 02:15:24,864 2280 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-04 02:15:24,864 2280 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-07-04 02:15:24,864 2280 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-04 02:15:24,879 2280 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:15:24,879 2280 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-04 02:15:24,879 2280 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-04 02:15:24,879 2280 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-04 02:15:24,879 2280 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:15:24,896 2280 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-04 02:15:24,896 2280 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-04 02:15:24,896 2280 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-04 02:15:24,896 2280 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-04 02:15:24,896 2280 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-04 02:15:24,911 2280 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-04 02:15:24,911 2280 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-04 02:15:24,911 2280 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-04 02:15:25,302 2280 [DEBUG] - Running list with the following filter = ''
2020-07-04 02:15:25,317 2280 [DEBUG] - --- Start of List ---
2020-07-04 02:15:25,708 2280 [DEBUG] - --- End of List ---
2020-07-04 02:15:25,739 2280 [ERROR] - server-jre10 is not installed. Cannot uninstall a non-existent package.
2020-07-04 02:15:25,817 2280 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-04 02:15:25,817 2280 [INFO ] -
2020-07-04 02:15:25,832 2280 [ERROR] - Failures
2020-07-04 02:15:25,832 2280 [ERROR] - - server-jre10 - server-jre10 is not installed. Cannot uninstall a non-existent package.
2020-07-04 02:15:25,832 2280 [WARN ] -
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with `-n` to skip running a chocolateyUninstall script, additionally
adding `--skip-autouninstaller` to skip an attempt to automatically
remove system-installed software. This will only remove the packaging
files and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs removed
as it is typically installed as a dependency for a reason. If you
decide that you still want to remove it, head into
`$env:ChocolateyInstall\lib` and find the package folder you want
removed. Then delete the folder for the package. This option should
only be used as a last resort.
2020-07-04 02:15:25,832 2280 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-04 02:15:25,848 2280 [DEBUG] - Exiting with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.