Skip to content

Instantly share code, notes, and snippets.

@ferventcoder
Forked from scowalt/error.txt
Created March 21, 2016 13:58

Revisions

  1. @scowalt scowalt created this gist Mar 13, 2016.
    263 changes: 263 additions & 0 deletions error.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,263 @@
    Chocolatey is running on Windows v 10.0.14286.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 -y eraser --debug --verbose
    Received arguments: install -y eraser --debug --verbose

    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\scowa\AppData\Local\Temp'|
    ContainsLegacyPackageInstalls='True'|
    CommandExecutionTimeoutSeconds='2700'|
    Sources='https://chocolatey.org/api/v2/'|Debug='True'|Verbose='True'|
    Force='False'|Noop='False'|HelpRequested='False'|RegularOutput='True'|
    QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
    AllowUnofficialBuild='False'|Input='eraser'|AllVersions='False'|
    SkipPackageInstallProvider='False'|PackageNames='eraser'|
    Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
    NotSilent='False'|IgnoreDependencies='False'|
    AllowMultipleVersions='False'|AllowDowngrade='False'|
    ForceDependencies='False'|Information.PlatformType='Windows'|
    Information.PlatformVersion='10.0.14286.0'|
    Information.PlatformName='Windows'|
    Information.ChocolateyVersion='0.9.9.11'|
    Information.ChocolateyProductVersion='0.9.9.11'|
    Information.FullName='choco, Version=0.9.9.11, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

    Information.Is64Bit='True'|Information.IsInteractive='True'|
    Information.IsUserAdministrator='True'|
    Information.IsProcessElevated='True'|Features.AutoUninstaller='False'|
    Features.CheckSumFiles='True'|Features.FailOnAutoUninstaller='False'|
    ListCommand.LocalOnly='False'|
    ListCommand.IncludeRegistryPrograms='False'|
    UpgradeCommand.FailOnUnfound='False'|
    UpgradeCommand.FailOnNotInstalled='False'|
    UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
    NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|
    SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
    ConfigCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|
    PinCommand.Command='unknown'|
    _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
    Installing the following packages:
    eraser
    By installing you accept licenses for the packages.
    [NuGet] Attempting to resolve dependency 'dotnet4.0 (ò 4.0.30319)'.
    [NuGet] Attempting to resolve dependency '7zip.commandline (ò 15.14)'.
    [NuGet] Installing '7zip.commandline 15.14'.
    [NuGet] Added file 'chocolateyInstall.ps1' to folder '7zip.commandline\tools'.
    [NuGet] Added file '7zip.commandline.nupkg' to folder '7zip.commandline'.
    [NuGet] Successfully installed '7zip.commandline 15.14'.

    7zip.commandline v15.14
    Contents of 'C:\ProgramData\chocolatey\lib\7zip.commandline\tools\chocolateyInstall.ps1':
    $versionMinusDots = "15.14".Replace(".","")

    $packageName = '7zip.commandline'
    $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    $extrasDir = Join-Path "$toolsDir" "7z-extra"
    $url = "http://www.7-zip.org/a/7z$($versionMinusDots).exe"
    $url64 = "http://www.7-zip.org/a/7z$($versionMinusDots)-x64.exe"
    $extrasUrl = "http://www.7-zip.org/a/7z$($versionMinusDots)-extra.7z"

    Install-ChocolateyZipPackage $packageName $url $toolsDir $url64
    Install-ChocolateyZipPackage $packageName $extrasUrl $extrasDir

    Remove-Item -Path "$toolsDir\Uninstall.exe"

    if (Get-ProcessorBits 32) {
    # generate ignore for x64\7za.exe
    New-Item "$extrasDir\x64\7za.exe.ignore" -Type file -Force | Out-Null
    } else {
    #generate ignore for 7za.exe and let x64 version pick up and shim
    New-Item "$extrasDir\7za.exe.ignore" -Type file -Force | Out-Null
    }

    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\7zip.commandline\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"']
    DEBUG: Posh version is 5.1.14286.1000
    DEBUG: Loading community extensions
    VERBOSE: Exporting function 'Get-BinRoot'.
    VERBOSE: Exporting function 'Get-ChecksumValid'.
    VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
    VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
    VERBOSE: Exporting function 'Get-EnvironmentVariable'.
    VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
    VERBOSE: Exporting function 'Get-FtpFile'.
    VERBOSE: Exporting function 'Get-ProcessorBits'.
    VERBOSE: Exporting function 'Get-UACEnabled'.
    VERBOSE: Exporting function 'Get-VirusCheckValid'.
    VERBOSE: Exporting function 'Get-WebFile'.
    VERBOSE: Exporting function 'Get-WebHeaders'.
    VERBOSE: Exporting function 'Install-BinFile'.
    VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
    VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
    VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
    VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
    VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
    VERBOSE: Exporting function 'Install-ChocolateyPackage'.
    VERBOSE: Exporting function 'Install-ChocolateyPath'.
    VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
    VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
    VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
    VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
    VERBOSE: Exporting function 'Install-Vsix'.
    VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
    VERBOSE: Exporting function 'Set-EnvironmentVariable'.
    VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
    VERBOSE: Exporting function 'Test-ProcessAdminRights'.
    VERBOSE: Exporting function 'Uninstall-BinFile'.
    VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
    VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'.
    VERBOSE: Exporting function 'Update-SessionEnvironment'.
    VERBOSE: Exporting function 'Write-ChocolateyFailure'.
    VERBOSE: Exporting function 'Write-ChocolateySuccess'.
    C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1 : Collection is
    VERBOSE: Exporting function 'Write-FileUpdateLog'.
    read-only.
    VERBOSE: Exporting alias 'Generate-BinFile'.
    VERBOSE: Exporting alias 'Add-BinFile'.
    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\7zip.commandline\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"'] exited with '1'
    VERBOSE: Exporting alias 'Remove-BinFile'.
    At line:1 char:210
    + ... ller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunn .
    ..
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [chocolateyScriptRunner.ps1]
    Calling command ['"shutdown" /a']
    , NotSupportedException
    + FullyQualifiedErrorId : System.NotSupportedException,chocolateyScriptR
    unner.ps1
    Command ['"shutdown" /a'] exited with '1116'
    Capturing package files in 'C:\ProgramData\chocolatey\lib\7zip.commandline'
    Found 'C:\ProgramData\chocolatey\lib\7zip.commandline\7zip.commandline.nupkg'
    with checksum 'DF6B330ECD7545DDC44287D6FBFA638A'
    Found 'C:\ProgramData\chocolatey\lib\7zip.commandline\tools\chocolateyInstall.ps1'
    with checksum '44AB30A12FDC633C5A08E6507580BFED'
    Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\7zip.commandline.15.14\.files.update".
    Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\7zip.commandline.15.14\.sxs".
    Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\7zip.commandline.15.14\.pin".
    Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\7zip.commandline".
    The install of 7zip.commandline was NOT successful.
    Error while running 'C:\ProgramData\chocolatey\lib\7zip.commandline\tools\chocolateyInstall.ps1'.
    See log for details.
    Moving 'C:\ProgramData\chocolatey\lib\7zip.commandline'
    to 'C:\ProgramData\chocolatey\lib-bad\7zip.commandline'
    [NuGet] Installing 'eraser 6.2.0.2971'.
    [NuGet] Added file 'chocolateyInstall.ps1' to folder 'eraser\tools'.
    [NuGet] Added file 'eraser.nupkg' to folder 'eraser'.
    [NuGet] Successfully installed 'eraser 6.2.0.2971'.

    eraser v6.2.0.2971
    Contents of 'C:\ProgramData\chocolatey\lib\eraser\tools\chocolateyInstall.ps1':
    $ErrorActionPreference = 'Stop'

    $setupDir = "$Env:TEMP\eraser_setup"
    $packageName = 'eraser'
    $url = 'http://netcologne.dl.sourceforge.net/project/eraser/Eraser%206/6.2/Eraser6.2.0.2971-NoRuntimes.exe'

    $setupPath = $setupDir + ".exe"
    Get-ChocolateyWebFile $packageName $setupPath $url $url

    if (!(gcm 7z -ea 0)) {
    gp HKCU:\Software\7-Zip Path | select -Expand Path | set path
    if (!(Test-Path "$path\7z.exe")) { throw "Can not find 7z.exe" }
    sal 7z "$path\7z.exe"
    }

    cd $Env:TEMP
    7z x -aoa $setupPath -o*

    $url32 = gi "$setupDir\*86*" | Select -Expand FullName
    $url64 = gi "$setupDir\*64*" | Select -Expand FullName
    if (((Test-Path $url32,$url64) -eq $false).Count) { throw "Unpacking failed" }

    $packageArgs = @{
    packageName = $packageName
    fileType = 'msi'
    url = $url32
    url64bit = $url64
    silentArgs = '/quiet'
    validExitCodes = @(0)
    registryUninstallerKey = "Eraser"
    }
    Install-ChocolateyPackage @packageArgs
    rm -force -r $setupDir -ea 0
    rm $setupPath -ea 0

    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\eraser\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"']
    DEBUG: Posh version is 5.1.14286.1000
    DEBUG: Loading community extensions
    VERBOSE: Exporting function 'Get-BinRoot'.
    VERBOSE: Exporting function 'Get-ChecksumValid'.
    VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
    VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
    VERBOSE: Exporting function 'Get-EnvironmentVariable'.
    VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
    VERBOSE: Exporting function 'Get-FtpFile'.
    VERBOSE: Exporting function 'Get-ProcessorBits'.
    VERBOSE: Exporting function 'Get-UACEnabled'.
    VERBOSE: Exporting function 'Get-VirusCheckValid'.
    VERBOSE: Exporting function 'Get-WebFile'.
    VERBOSE: Exporting function 'Get-WebHeaders'.
    VERBOSE: Exporting function 'Install-BinFile'.
    VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
    VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
    VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
    VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
    VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
    VERBOSE: Exporting function 'Install-ChocolateyPackage'.
    VERBOSE: Exporting function 'Install-ChocolateyPath'.
    VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
    VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
    VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
    VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
    VERBOSE: Exporting function 'Install-Vsix'.
    VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
    VERBOSE: Exporting function 'Set-EnvironmentVariable'.
    VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
    VERBOSE: Exporting function 'Test-ProcessAdminRights'.
    VERBOSE: Exporting function 'Uninstall-BinFile'.
    VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
    VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'.
    VERBOSE: Exporting function 'Update-SessionEnvironment'.
    VERBOSE: Exporting function 'Write-ChocolateyFailure'.
    VERBOSE: Exporting function 'Write-ChocolateySuccess'.
    VERBOSE: Exporting function 'Write-FileUpdateLog'.
    C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1 : Collection is
    VERBOSE: Exporting alias 'Generate-BinFile'.
    read-only.
    At line:1 char:210
    VERBOSE: Exporting alias 'Add-BinFile'.
    + ... ller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunn .
    VERBOSE: Exporting alias 'Remove-BinFile'.
    ..
    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\eraser\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"'] exited with '1'
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Calling command ['"shutdown" /a']
    + CategoryInfo : NotSpecified: (:) [chocolateyScriptRunner.ps1]
    , NotSupportedException
    + FullyQualifiedErrorId : System.NotSupportedException,chocolateyScriptR
    unner.ps1
    Command ['"shutdown" /a'] exited with '1116'
    Capturing package files in 'C:\ProgramData\chocolatey\lib\eraser'
    Found 'C:\ProgramData\chocolatey\lib\eraser\eraser.nupkg'
    with checksum '67300281FB01501AAC3AF04F035C47AF'
    Found 'C:\ProgramData\chocolatey\lib\eraser\tools\chocolateyInstall.ps1'
    with checksum '6454714FDA022C680338B0F94B8D4E57'
    Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\eraser.6.2.0.2971\.files.update".
    Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\eraser.6.2.0.2971\.sxs".
    Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\eraser.6.2.0.2971\.pin".
    Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\eraser".
    The install of eraser was NOT successful.
    Error while running 'C:\ProgramData\chocolatey\lib\eraser\tools\chocolateyInstall.ps1'.
    See log for details.
    Moving 'C:\ProgramData\chocolatey\lib\eraser'
    to 'C:\ProgramData\chocolatey\lib-bad\eraser'

    Chocolatey installed 0/2 package(s). 2 package(s) failed.
    See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
    Failures:
    - 7zip.commandline
    - eraser
    Exiting with 1