Created
March 3, 2015 20:51
-
-
Save twastvedt/c099d943ce3a91d16986 to your computer and use it in GitHub Desktop.
Error from "choco install conemu -debug"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Windows\system32>choco install conemu -debug | |
Chocolatey v0.9.9.1 | |
Chocolatey is running on Windows v 6.1.7601.65536 | |
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 conemu -debug | |
Received arguments: install conemu -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. | |
Configuration: CommandName='install'| | |
CacheLocation='C:\Users\wastvedt\AppData\Local\Temp'| | |
ContainsLegacyPackageInstalls='True'| | |
CommandExecutionTimeoutSeconds='2700'| | |
Sources='https://chocolatey.org/api/v2/'|Debug='True'|Verbose='False'| | |
Force='False'|Noop='False'|HelpRequested='False'|RegularOuptut='True'| | |
PromptForConfirmation='True'|AcceptLicense='False'| | |
AllowUnofficialBuild='False'|Input='conemu'|AllVersions='False'| | |
SkipPackageInstallProvider='False'|PackageNames='conemu'| | |
Prerelease='False'|ForceX86='False'|OverrideArguments='False'| | |
NotSilent='False'|IgnoreDependencies='False'| | |
AllowMultipleVersions='False'|ForceDependencies='False'| | |
Information.PlatformType='Windows'| | |
Information.PlatformVersion='6.1.7601.65536'| | |
Information.PlatformName='Windows 7'| | |
Information.ChocolateyVersion='0.9.9.1'| | |
Information.ChocolateyProductVersion='0.9.9.1'| | |
Information.FullName='choco, Version=0.9.9.1, Culture=neutral, PublicKeyToken=79 | |
d02ea9cad655eb'| | |
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'| | |
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _ | |
Installing the following packages: | |
conemu | |
By installing you accept licenses for the packages. | |
Installing 'ConEmu 14.9.23.0'. | |
Added file 'chocolateyInstall.ps1' to folder 'ConEmu\tools'. | |
Added file 'chocolateyUninstall.ps1' to folder 'ConEmu\tools'. | |
Added file 'ConEmu.nupkg' to folder 'ConEmu'. | |
Successfully installed 'ConEmu 14.9.23.0'. | |
ConEmu v14.9.23.0 | |
Contents of 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1': | |
$package = 'ConEmu' | |
$version = '14.09.23' | |
try { | |
$isSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and ` | |
($Env:PROCESSOR_ARCHITEW6432 -eq $null)) | |
$os = if ($isSytem32Bit) { "x86" } else { "x64" } | |
# TODO: use github api to grab latest release? | |
$url = "https://github.com/Maximus5/ConEmu/releases/download/v$version/ConEmuS | |
etup.$($version.replace('.','')).exe" | |
$chocTemp = Join-Path $Env:TEMP 'chocolatey' | |
$tempInstall = Join-Path $chocTemp "ConEmu\ConEmuSetup.$version.exe" | |
Write-Host "Downloading from $url to $tempInstall" | |
# need a Referer, User-Agent and Accept to be able to download | |
# other headers not required | |
$client = New-Object Net.WebClient | |
$client.DownloadFile($url, $tempInstall) | |
Write-Host "Download from $url complete" | |
# If having problems with untrusted cetrificates on HTTPS, use | |
# solution: http://stackoverflow.com/a/561242/1579985 | |
$params = @{ | |
PackageName = $package; | |
FileType = 'exe'; | |
SilentArgs = "/p:$os /passive"; | |
# MSI installer, but packed inside wrapper to select x86 or x64 | |
# version. Therefore, treat it as EXE type. | |
File = $tempInstall; | |
# ValidExitCodes = @(0); | |
} | |
Install-ChocolateyInstallPackage @params | |
Write-ChocolateySuccess $package | |
} catch { | |
Write-ChocolateyFailure $package "$($_.Exception.Message)" | |
throw | |
} | |
Found 'chocolateyInstall.ps1': | |
$package = 'ConEmu' | |
$version = '14.09.23' | |
try {{{{ | |
$isSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and ` | |
($Env:PROCESSOR_ARCHITEW6432 -eq $null)) | |
$os = if ($isSytem32Bit) {{{{ "x86" }}}} else {{{{ "x64" }}}} | |
# TODO: use github api to grab latest release? | |
$url = "https://github.com/Maximus5/ConEmu/releases/download/v$version/ConEmuS | |
etup.$($version.replace('.','')).exe" | |
$chocTemp = Join-Path $Env:TEMP 'chocolatey' | |
$tempInstall = Join-Path $chocTemp "ConEmu\ConEmuSetup.$version.exe" | |
Write-Host "Downloading from $url to $tempInstall" | |
# need a Referer, User-Agent and Accept to be able to download | |
# other headers not required | |
$client = New-Object Net.WebClient | |
$client.DownloadFile($url, $tempInstall) | |
Write-Host "Download from $url complete" | |
# If having problems with untrusted cetrificates on HTTPS, use | |
# solution: http://stackoverflow.com/a/561242/1579985 | |
$params = @{{{{ | |
PackageName = $package; | |
FileType = 'exe'; | |
SilentArgs = "/p:$os /passive"; | |
# MSI installer, but packed inside wrapper to select x86 or x64 | |
# version. Therefore, treat it as EXE type. | |
File = $tempInstall; | |
# ValidExitCodes = @(0); | |
}}}} | |
Install-ChocolateyInstallPackage @params | |
Write-ChocolateySuccess $package | |
}}}} catch {{{{ | |
Write-ChocolateyFailure $package "$($_.Exception.Message)" | |
throw | |
}}}} | |
Do you want to run the script? | |
NOTE: If you chooose not to run the script, the installation will | |
fail. | |
Skip is an advanced option and most likely will never be wanted. | |
1) yes | |
2) no [Default - Press Enter] | |
3) skip | |
1 | |
Calling command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -N | |
oProfile -NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::Cu | |
rrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.Current | |
UICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocola | |
teyInstaller.psm1'; & 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInst | |
all.ps1'"'] | |
DEBUG: Posh version is 2.0 | |
Downloading from https://github.com/Maximus5/ConEmu/releases/download/v14.09.23 | |
/ConEmuSetup.140923.exe to C:\Users\wastvedt\AppData\Local\Temp\chocolatey\ConEm | |
u\ConEmuSetup.14.09.23.exe | |
WARNING: Write-ChocolateyFailure is deprecated. If you are the package | |
maintainer, please use 'throw $_.Exception' instead. | |
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred d | |
uring a WebClient request." | |
At C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1:24 c | |
har:8 | |
+ throw <<<< "$failureMessage" | |
+ CategoryInfo : OperationStopped: (Exception calli...lient reque | |
st.":String) [], RuntimeException | |
+ FullyQualifiedErrorId : Exception calling "DownloadFile" with "2" argume | |
nt(s): "An exception occurred during a WebClient request." | |
Command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile | |
-NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::CurrentThr | |
ead.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICultur | |
e = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInsta | |
ller.psm1'; & 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1' | |
"'] exited with '1' | |
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ConEmu.14.9.23. | |
0\.sxs". | |
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ConEmu.14.9.23. | |
0\.pin". | |
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\ConEmu". | |
conemu install not successful. | |
Error while running 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstal | |
l.ps1'. | |
See log for details. | |
Moving 'C:\ProgramData\chocolatey\lib\ConEmu' | |
to 'C:\ProgramData\chocolatey\lib-bad\ConEmu' | |
Chocolatey installed 0/1 package(s). 1 package(s) failed. | |
See the log for details. | |
Failures: | |
- conemu | |
Exiting with 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment