Skip to content

Instantly share code, notes, and snippets.

@dcjulian29
Created April 17, 2015 15:33
Show Gist options
  • Save dcjulian29/7b9deb1be194f4fe7ef6 to your computer and use it in GitHub Desktop.
Save dcjulian29/7b9deb1be194f4fe7ef6 to your computer and use it in GitHub Desktop.
Chocolatey Log of "unsuccessful" package install
2015-04-17 11:12:55,876 [INFO ] - ============================================================
2015-04-17 11:12:55,891 [INFO ] - Chocolatey v0.9.9.4
2015-04-17 11:12:55,907 [DEBUG] - Chocolatey is running on Windows v 10.0.9926.0
2015-04-17 11:12:55,907 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2015-04-17 11:12:55,907 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2015-04-17 11:12:55,907 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install mysettings-ntfs -y -debug -verbose
2015-04-17 11:12:55,922 [DEBUG] - Received arguments: install mysettings-ntfs -y -debug -verbose
2015-04-17 11:12:55,938 [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.
2015-04-17 11:12:55,954 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\feilab\AppData\Local\Temp'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|
Sources='https://www.myget.org/F/dcjulian29-chocolatey'|Debug='True'|
Verbose='True'|Force='False'|Noop='False'|HelpRequested='False'|
RegularOutput='True'|PromptForConfirmation='False'|
AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='mysettings-ntfs'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='mysettings-ntfs'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|ForceDependencies='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.9926.0'|
Information.PlatformName='Windows'|
Information.ChocolateyVersion='0.9.9.4'|
Information.ChocolateyProductVersion='0.9.9.4'|
Information.FullName='choco, Version=0.9.9.4, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|Features.AutoUninstaller='False'|
Features.CheckSumFiles='True'|ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|
UpgradeCommand.FailOnUnfound='False'|
NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|
FeatureCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|
PinCommand.Command='unknown'|
2015-04-17 11:12:55,969 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2015-04-17 11:12:55,969 [INFO ] - Installing the following packages:
2015-04-17 11:12:55,969 [INFO ] - mysettings-ntfs
2015-04-17 11:12:55,985 [INFO ] - By installing you accept licenses for the packages.
2015-04-17 11:13:02,516 [INFO ] - Installing 'mysettings-ntfs 2014.5.17'.
2015-04-17 11:13:02,516 [DEBUG] - Added file 'chocolateyInstall.ps1' to folder 'mysettings-ntfs\tools'.
2015-04-17 11:13:02,532 [DEBUG] - Added file 'registry.reg' to folder 'mysettings-ntfs\tools'.
2015-04-17 11:13:02,532 [DEBUG] - Added file 'mysettings-ntfs.nupkg' to folder 'mysettings-ntfs'.
2015-04-17 11:13:02,532 [INFO ] - Successfully installed 'mysettings-ntfs 2014.5.17'.
2015-04-17 11:13:02,532 [INFO ] -
mysettings-ntfs v2014.5.17
2015-04-17 11:13:02,548 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\mysettings-ntfs\tools\chocolateyInstall.ps1':
2015-04-17 11:13:02,563 [DEBUG] - $packageName = "mysettings-ntfs"
$packageDir = "$(Split-Path -parent $MyInvocation.MyCommand.Path)"
$LastExitCode
if ($psISE) {
Import-Module -name "$env:ChocolateyInstall\chocolateyinstall\helpers\chocolateyInstaller.psm1"
}
$LastExitCode
$cmd = "reg.exe import $packageDir\registry.reg"
$LastExitCode
if (Get-ProcessorBits -eq 64) {
$cmd = "$cmd /reg:64"
}
$LastExitCode
Write-Output "Executing: $cmd"
$LastExitCode
if (Test-ProcessAdminRights) {
$LastExitCode
Invoke-Expression $cmd
$LastExitCode
} else {
Start-ChocolateyProcessAsAdmin "$cmd"
}
$LastExitCode
Write-Output "You need to reboot to complete the action..."
$LastExitCode
2015-04-17 11:13:02,704 [DEBUG] - Calling command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[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\mysettings-ntfs\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"']
2015-04-17 11:13:03,188 [DEBUG] - DEBUG: Posh version is 5.0.9926.6
2015-04-17 11:13:03,235 [INFO ] - VERBOSE: Exporting function 'Generate-BinFile'.
2015-04-17 11:13:03,235 [INFO ] - VERBOSE: Exporting function 'Get-BinRoot'.
2015-04-17 11:13:03,235 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2015-04-17 11:13:03,235 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2015-04-17 11:13:03,251 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2015-04-17 11:13:03,251 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2015-04-17 11:13:03,251 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2015-04-17 11:13:03,251 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2015-04-17 11:13:03,266 [INFO ] - VERBOSE: Exporting function 'Get-ProcessorBits'.
2015-04-17 11:13:03,266 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2015-04-17 11:13:03,266 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2015-04-17 11:13:03,282 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2015-04-17 11:13:03,298 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2015-04-17 11:13:03,298 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2015-04-17 11:13:03,298 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2015-04-17 11:13:03,298 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2015-04-17 11:13:03,313 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2015-04-17 11:13:03,313 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2015-04-17 11:13:03,313 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2015-04-17 11:13:03,313 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2015-04-17 11:13:03,329 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2015-04-17 11:13:03,329 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2015-04-17 11:13:03,345 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2015-04-17 11:13:03,345 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2015-04-17 11:13:03,360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2015-04-17 11:13:03,360 [INFO ] - VERBOSE: Exporting function 'Remove-BinFile'.
2015-04-17 11:13:03,360 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2015-04-17 11:13:03,376 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2015-04-17 11:13:03,376 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2015-04-17 11:13:03,376 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2015-04-17 11:13:03,376 [INFO ] - VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'.
2015-04-17 11:13:03,391 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2015-04-17 11:13:03,391 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2015-04-17 11:13:03,407 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2015-04-17 11:13:03,407 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2015-04-17 11:13:03,423 [DEBUG] - DEBUG: Loading community extensions
2015-04-17 11:13:03,423 [WARN ] - WARNING: The names of some imported commands from the module 'chocolateyInstaller' include unapproved verbs that might
2015-04-17 11:13:03,423 [INFO ] - make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
2015-04-17 11:13:03,438 [INFO ] - Verbose parameter. For a list of approved verbs, type Get-Verb.
2015-04-17 11:13:03,438 [DEBUG] - DEBUG: Running 'Get-ProcessorBits'
2015-04-17 11:13:03,438 [INFO ] - Executing: reg.exe import C:\ProgramData\chocolatey\lib\mysettings-ntfs\tools\registry.reg /reg:64
2015-04-17 11:13:03,438 [ERROR] - The operation completed successfully.
2015-04-17 11:13:03,438 [DEBUG] - DEBUG: Test-ProcessAdminRights: returning True
2015-04-17 11:13:03,454 [INFO ] - 0
2015-04-17 11:13:03,454 [INFO ] - 0
2015-04-17 11:13:03,469 [DEBUG] - Command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[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\mysettings-ntfs\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"'] exited with '0'
2015-04-17 11:13:03,469 [INFO ] - You need to reboot to complete the action...
2015-04-17 11:13:03,485 [INFO ] - 0
2015-04-17 11:13:03,485 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\mysettings-ntfs.2014.5.17\.sxs".
2015-04-17 11:13:03,501 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\mysettings-ntfs.2014.5.17\.pin".
2015-04-17 11:13:03,501 [ERROR] - mysettings-ntfs install not successful.
2015-04-17 11:13:03,501 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\mysettings-ntfs\tools\chocolateyInstall.ps1'.
See log for details.
2015-04-17 11:13:03,516 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2015-04-17 11:13:03,532 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\mysettings-ntfs'
to 'C:\ProgramData\chocolatey\lib-bad\mysettings-ntfs'
2015-04-17 11:13:05,563 [WARN ] -
Chocolatey installed 0/1 package(s). 1 package(s) failed.
See the log for details.
2015-04-17 11:13:05,579 [ERROR] - Failures:
2015-04-17 11:13:05,579 [ERROR] - - mysettings-ntfs
2015-04-17 11:13:05,594 [DEBUG] - Exiting with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment