|
==> default: Running provisioner: shell... |
|
default: Running: shell/VagrantAction.ps1 as c:\tmp\vagrant-shell.ps1 |
|
==> default: Chocolatey is running on Windows v 6.3.9600.0 |
|
==> default: Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". |
|
==> default: Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". |
|
==> default: Command line: "C:\ProgramData\chocolatey\choco.exe" install winscp.powershell --version 5.7.3.1 -fdvy |
|
==> default: Received arguments: install winscp.powershell --version 5.7.3.1 -fdvy |
|
==> default: NOTE: Hiding sensitive configuration data! Please double and triple |
|
==> default: check to be sure no sensitive data is shown, especially if copying |
|
==> default: output to a gist for review. |
|
==> default: Configuration: CommandName='install'| |
|
==> default: CacheLocation='C:\Users\ADMINI~1\AppData\Local\Temp'| |
|
==> default: ContainsLegacyPackageInstalls='True'| |
|
==> default: CommandExecutionTimeoutSeconds='2700'| |
|
==> default: Sources='https://chocolatey.org/api/v2/'|Debug='True'|Verbose='True'| |
|
==> default: Force='True'|Noop='False'|HelpRequested='False'|RegularOutput='True'| |
|
==> default: QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'| |
|
==> default: AllowUnofficialBuild='False'|Input='winscp.powershell'| |
|
==> default: Version='5.7.3.1'|AllVersions='False'| |
|
==> default: SkipPackageInstallProvider='False'|PackageNames='winscp.powershell'| |
|
==> default: Prerelease='False'|ForceX86='False'|OverrideArguments='False'| |
|
==> default: NotSilent='False'|IgnoreDependencies='False'| |
|
==> default: AllowMultipleVersions='False'|AllowDowngrade='False'| |
|
==> default: ForceDependencies='False'|Information.PlatformType='Windows'| |
|
==> default: Information.PlatformVersion='6.3.9600.0'| |
|
==> default: Information.PlatformName='Windows Server 2012 R2'| |
|
==> default: Information.ChocolateyVersion='0.9.9.11'| |
|
==> default: Information.ChocolateyProductVersion='0.9.9.11'| |
|
==> default: Information.FullName='choco, Version=0.9.9.11, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'| |
|
==> default: |
|
==> default: Information.Is64Bit='True'|Information.IsInteractive='False'| |
|
==> default: Information.IsUserAdministrator='True'| |
|
==> default: Information.IsProcessElevated='True'|Features.AutoUninstaller='True'| |
|
==> default: Features.CheckSumFiles='True'|Features.FailOnAutoUninstaller='False'| |
|
==> default: ListCommand.LocalOnly='False'| |
|
==> default: ListCommand.IncludeRegistryPrograms='False'| |
|
==> default: UpgradeCommand.FailOnUnfound='False'| |
|
==> default: UpgradeCommand.FailOnNotInstalled='False'| |
|
==> default: UpgradeCommand.NotifyOnlyAvailableUpgrades='False'| |
|
==> default: NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'| |
|
==> default: SourceCommand.Priority='0'|FeatureCommand.Command='unknown'| |
|
==> default: ConfigCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'| |
|
==> default: PinCommand.Command='unknown'| |
|
==> default: _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _ |
|
==> default: Installing the following packages: |
|
==> default: winscp.powershell |
|
==> default: By installing you accept licenses for the packages. |
|
==> default: [NuGet] Installing 'winscp.powershell 5.7.3.1'. |
|
==> default: |
|
==> default: [NuGet] Added file 'chocolateyinstall.ps1' to folder 'winscp.powershell'. |
|
==> default: [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'winscp.powershell'. |
|
==> default: [NuGet] Added file 'winscp.powershell.nupkg' to folder 'winscp.powershell'. |
|
==> default: [NuGet] Successfully installed 'winscp.powershell 5.7.3.1'. |
|
==> default: |
|
==> default: winscp.powershell v5.7.3.1 (forced) |
|
==> default: Contents of 'C:\ProgramData\chocolatey\lib\winscp.powershell\chocolateyinstall.ps1': |
|
==> default: if ((($e = Get-EnvironmentVariable -Name PSModulePath -Scope Process) -split ';') -notcontains ($p = Join-Path -Path $env:ProgramFiles -ChildPath 'WindowsPowerShell\Modules')) { Set-EnvironmentVariable -Name PSModulePath -Value ($e += ";$p") -Scope Process } |
|
==> default: Install-ChocolateyZipPackage -PackageName 'winscp.powershell' -Url 'https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip' -UnZipLocation "$p\WinSCP" |
|
==> default: 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 = ''; |
|
==> default: & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\winscp.powershell\chocolateyinstall.ps1' -installArguments '' -packageParameters ''"'] |
|
==> default: DEBUG: Posh version is 4.0 |
|
==> default: |
|
==> default: VERBOSE: Exporting function 'Get-BinRoot'. |
|
==> default: VERBOSE: Exporting function 'Get-ChecksumValid'. |
|
==> default: VERBOSE: Exporting function 'Get-ChocolateyUnzip'. |
|
==> default: VERBOSE: Exporting function 'Get-ChocolateyWebFile'. |
|
==> default: VERBOSE: Exporting function 'Get-EnvironmentVariable'. |
|
==> default: VERBOSE: Exporting function 'Get-EnvironmentVariableNames'. |
|
==> default: VERBOSE: Exporting function 'Get-FtpFile'. |
|
==> default: VERBOSE: Exporting function 'Get-ProcessorBits'. |
|
==> default: VERBOSE: Exporting function 'Get-UACEnabled'. |
|
==> default: VERBOSE: Exporting function 'Get-VirusCheckValid'. |
|
==> default: VERBOSE: Exporting function 'Get-WebFile'. |
|
==> default: VERBOSE: Exporting function 'Get-WebHeaders'. |
|
==> default: VERBOSE: Exporting function 'Install-BinFile'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyPackage'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyPath'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyShortcut'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'. |
|
==> default: VERBOSE: Exporting function 'Install-Vsix'. |
|
==> default: VERBOSE: Exporting function 'Install-ChocolateyZipPackage'. |
|
==> default: VERBOSE: Exporting function 'Set-EnvironmentVariable'. |
|
==> default: VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'. |
|
==> default: VERBOSE: Exporting function 'Test-ProcessAdminRights'. |
|
==> default: VERBOSE: Exporting function 'Uninstall-BinFile'. |
|
==> default: VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'. |
|
==> default: VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'. |
|
==> default: VERBOSE: Exporting function 'Update-SessionEnvironment'. |
|
==> default: VERBOSE: Exporting function 'Write-ChocolateyFailure'. |
|
==> default: VERBOSE: Exporting function 'Write-ChocolateySuccess'. |
|
==> default: VERBOSE: Exporting function 'Write-FileUpdateLog'. |
|
==> default: VERBOSE: Exporting alias 'Generate-BinFile'. |
|
==> default: VERBOSE: Exporting alias 'Add-BinFile'. |
|
==> default: VERBOSE: Exporting alias 'Remove-BinFile'. |
|
==> default: DEBUG: Running 'Install-ChocolateyZipPackage' for winscp.powershell with |
|
==> default: url:'https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip', unzipLocation: |
|
==> default: 'C:\Program Files\WindowsPowerShell\Modules\WinSCP', url64bit: '', |
|
==> default: specificFolder: '', checksum: '', checksumType: '', checksum64: '', |
|
==> default: checksumType64: '' |
|
==> default: DEBUG: Running 'Get-ChocolateyWebFile' for winscp.powershell with |
|
==> default: url:'https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip', |
|
==> default: fileFullPath:'C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\winscp.powershell |
|
==> default: \5.7.3.1\winscp.powershellInstall.zip', url64bit:'', checksum: '', |
|
==> default: checksumType: '', checksum64: '', checksumType64: '' |
|
==> default: DEBUG: Running 'Get-ProcessorBits' |
|
==> default: DEBUG: CPU is 64 bit |
|
==> default: DEBUG: Running 'Get-WebHeaders' with |
|
==> default: url:'https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip', userAgent: |
|
==> default: 'chocolatey command line' |
|
==> default: DEBUG: Setting the UserAgent to 'chocolatey command line' |
|
==> default: DEBUG: Request Headers: |
|
==> default: DEBUG: 'Accept':'*/*' |
|
==> default: DEBUG: 'User-Agent':'chocolatey command line' |
|
==> default: Attempt to get headers for https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip failed. |
|
==> default: |
|
==> default: Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." |
|
==> default: Downloading winscp.powershell 32 bit |
|
==> default: from 'https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip' |
|
==> default: DEBUG: Running 'Get-WebFile' for |
|
==> default: C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\winscp.powershell\5.7.3.1\winsc |
|
==> default: p.powershellInstall.zip with |
|
==> default: url:'https://github.com/dotps1/WinSCP/raw/master/WinSCP.zip', userAgent: |
|
==> default: |
|
==> default: 'chocolatey command line' |
|
==> default: DEBUG: Setting the UserAgent to 'chocolatey command line' |
|
==> default: Exception calling "GetResponse" with "0" argument(s): "The remote server return |
|
==> default: |
|
==> default: ed an error: (404) Not Found." |
|
==> default: |
|
==> default: At C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1:81 char:3 |
|
==> default: + $res = $req.GetResponse(); |
|
==> default: + ~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
==> default: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException |
|
==> default: + FullyQualifiedErrorId : WebException |
|
==> default: You cannot call a method on a null-valued expression. |
|
==> default: At C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1:166 char:3 |
|
==> default: + $res.Close(); |
|
==> default: + ~~~~~~~~~~~~ |
|
==> default: + CategoryInfo : InvalidOperation: (:) [], RuntimeException |
|
==> default: + FullyQualifiedErrorId : InvokeMethodOnNull |
|
==> default: Chocolatey expected a file to be downloaded to 'C:\Users\ADMINI~1\AppData\Local |
|
==> default: |
|
==> default: \Temp\chocolatey\winscp.powershell\5.7.3.1\winscp.powershellInstall.zip' but |
|
==> default: nothing exists at that location. |
|
==> default: At C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1:158 |
|
==> default: char:24 |
|
==> default: + if (!($fi.Exists)) { throw "Chocolatey expected a file to be downloaded to |
|
==> default: `'$ ... |
|
==> default: |
|
==> default: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
==> default: ~~~ |
|
==> default: + CategoryInfo : OperationStopped: (Chocolatey expe... that locat |
|
==> default: ion.:String) [], RuntimeException |
|
==> default: + FullyQualifiedErrorId : Chocolatey expected a file to be downloaded to ' |
|
==> default: C:\Users\ADMINI~1\AppData\Local\Temp\chocolatey\winscp.powershell\5.7.3.1\ |
|
==> default: winscp.powershellInstall.zip' but nothing exists at that location. |
|
==> default: 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\winscp.powershell\chocolateyinstall.ps1' -installArguments '' -packageParameters ''"'] exited with '1' |
|
==> default: Calling command ['"shutdown" /a'] |
|
==> default: Command ['"shutdown" /a'] exited with '1116' |
|
==> default: Capturing package files in 'C:\ProgramData\chocolatey\lib\winscp.powershell' |
|
==> default: Found 'C:\ProgramData\chocolatey\lib\winscp.powershell\chocolateyinstall.ps1' |
|
==> default: with checksum 'D9337D5F4F51A9CBED8FDEB75E45B80E' |
|
==> default: Found 'C:\ProgramData\chocolatey\lib\winscp.powershell\chocolateyuninstall.ps1' |
|
==> default: with checksum '71B95098BA924DEDC631F291E37721BF' |
|
==> default: Found 'C:\ProgramData\chocolatey\lib\winscp.powershell\winscp.powershell.nupkg' |
|
==> default: with checksum '7B9256093312D4A38878C4301D1DFD8C' |
|
==> default: Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'. |
|
==> default: Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\winscp.powershell.5.7.3.1". |
|
==> default: Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\winscp.powershell.5.7.3.1\.files.update" |
|
==> default: to "C:\ProgramData\chocolatey\.chocolatey\winscp.powershell.5.7.3.1\.files". |
|
==> default: Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\winscp.powershell.5.7.3.1\.files.update". |
|
==> default: Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\winscp.powershell.5.7.3.1\.sxs". |
|
==> default: Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\winscp.powershell.5.7.3.1\.pin". |
|
==> default: The install of winscp.powershell was NOT successful. |
|
==> default: Error while running 'C:\ProgramData\chocolatey\lib\winscp.powershell\chocolateyinstall.ps1'. |
|
==> default: See log for details. |
|
==> default: Attempting to create directory "C:\ProgramData\chocolatey\lib-bad". |
|
==> default: Moving 'C:\ProgramData\chocolatey\lib\winscp.powershell' |
|
==> default: to 'C:\ProgramData\chocolatey\lib-bad\winscp.powershell' |
|
==> default: Chocolatey installed 0/1 package(s). 1 package(s) failed. |
|
==> default: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). |
|
==> default: Failures: |
|
==> default: - winscp.powershell |
|
==> default: Exiting with 1 |
|
[ERROR] The following WinRM command responded with a non-zero exit status. |
|
[ERROR] Vagrant assumes that this means the command failed! |
|
[ERROR] powershell -ExecutionPolicy Bypass -OutputFormat Text -file c:\tmp\vagrant-shell.ps1 |
|
[ERROR] Stdout from the command: |
|
[ERROR] Stderr from the command: |