atom / chocolatey

chocolatey installer for Atom
MIT License
12 stars 17 forks source link

Error with >cinst atom #26

Closed Zachdragon100 closed 10 years ago

Zachdragon100 commented 10 years ago

Microsoft Windows Version 6.3.9600 2013 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cinst atom -debug DEBUG: Running 'Append-InstallLog' with chocoInstallLog:'' DEBUG: Arguments: $command = 'install'|$force=False |$prerelease=False|$packageNames='atom' |$source='' |$version=''|$allVersions=False |$overrideArguments=False|$InstallArguments='' |$localonly=False|$verbosity=False|$debug=True|$quiet=False |$name=''|$ignoreDependencies=False|$forceX86=False |$packageParameters='' |PowerShellVersion=4.0|OSVersion=6.3.9600.0 DEBUG: Running 'Chocolatey-Install' for 'atom' with source: '', version: '', installerArguments:'' DEBUG: Running 'Chocolatey-NuGet' for atom with source:''. Force? False Chocolatey (v0.9.8.27) is installing 'atom' and dependencies. By installing you accept the license for 'atom' and each dependency you are installing. DEBUG: Installing packages to "C:\ProgramData\chocolatey\lib". DEBUG: Running 'Run-NuGet' for atom with source: '', version:'' DEBUG: _ NuGet __ DEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources' DEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources' DEBUG: After checking the user config the value of 'useNuGetForSources' is '' DEBUG: Value not found in the user config file - checking the global config DEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources' DEBUG: After checking the global config the value of 'useNuGetForSources' is 'false' DEBUG: Running 'Get-UserConfigValue' with configValue:'sources' DEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources' DEBUG: Using global sources DEBUG: Using '-Source "https://chocolatey.org/api/v2/;"' as the source arguments DEBUG: Calling 'C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe' install atom -OutputDirectory "C:\ProgramData\chocolatey\lib" -Source "https://chocolatey.org/api/v2/;" -NonInteractive -NoCache DEBUG: Installing 'Atom 0.117.0'. Successfully installed 'Atom 0.117.0'. DEBUG: Evaluating NuGet output for line: Installing 'Atom 0.117.0'. DEBUG: Evaluating NuGet output for line: Successfully installed 'Atom 0.117.0'. DEBUG: NuGet installed Atom. If we are ignoring dependencies (False) then we will clean this up.

Atom v0.117.0 DEBUG: Running 'Delete-ExistingErrorLog' for Atom DEBUG: Looking for failure log at 'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\failure.log' DEBUG: Found the failure log. Deleting it... DEBUG: Running 'Run-ChocolateyPS1' for Atom with packageFolder:'C:\ProgramData\chocolatey\lib\Atom.0.117.0', action: 'install' DEBUG: PowerShell install (chocolateyinstall.ps1) DEBUG: Looking for chocolateyinstall.ps1 in folder 'C:\ProgramData\chocolatey\lib\Atom.0.117.0'. If chocolateyinstall.ps1 is found, it will be run. DEBUG: Action file is 'chocolateyInstall.ps1' DEBUG: Running 'C:\ProgramData\chocolatey\lib\Atom.0.117.0\tools\chocolateyInstall.ps1' DEBUG: Running 'Install-ChocolateyZipPackage' for Atom with url:'https://github.com/atom/atom/releases/download/v0.117.0/atom-windows.zip', unzipLocation: 'C:\ProgramData\chocolatey\lib\Atom.0.117.0\tools', url64bit: 'https://github.com/atom/atom/releases/download/v0.117.0/atom-windows.zip', specificFolder: '', checksum: '', checksumType: '', checksum64: '', checksumType64: '' DEBUG: Running 'Get-ChocolateyWebFile' for Atom with url:'https://github.com/atom/atom/releases/download/v0.117.0/atom-windows.zip',

fileFullPath:'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.z ip', url64bit:'https://github.com/atom/atom/releases/download/v0.117.0/atom-windows. zip', checksum: '', checksumType: '', checksum64: '', checksumType64: '' DEBUG: Running 'Get-ProcessorBits' DEBUG: CPU is 64 bit DEBUG: Setting url to 'https://github.com/atom/atom/releases/download/v0.117.0/atom-windows.zip' and bitPackage to 64 DEBUG: Running 'Get-WebHeaders' with url:'https://github.com/atom/atom/releases/download/v0.117.0/atom-windows.zip', userAgent: 'chocolatey command line' DEBUG: Setting the UserAgent to 'chocolatey command line' DEBUG: Web Headers Received: DEBUG: 'x-amz-id-2':'v3QBNmkS8yRPe1a5X+XdHSx0puHIu2pji7ulZRyErjp/SX+TYdB7aaZm1DbpiaVB' DEBUG: 'x-amz-request-id':'74F4144E846EE5D9' DEBUG: 'x-amz-meta-surrogate-control':'max-age=31557600' DEBUG: 'x-amz-meta-surrogate-key':'repository-3228505 user-3697332' DEBUG: 'Content-Disposition':'attachment; filename=atom-windows.zip' DEBUG: 'Accept-Ranges':'bytes' DEBUG: 'Content-Length':'69882139' DEBUG: 'Cache-Control':'max-age=31557600' DEBUG: 'Content-Type':'application/octet-stream' DEBUG: 'Date':'Wed, 23 Jul 2014 01:39:47 GMT' DEBUG: 'ETag':'"4435b2fc6dbf0adf535b2a9d97d2f256"' DEBUG: 'Last-Modified':'Tue, 22 Jul 2014 20:26:51 GMT' DEBUG: 'Server':'AmazonS3' DEBUG: Atom's requested file has already been downloaded. Using cached copy at 'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip'. DEBUG: Checking that 'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip' is the size we expect it to be. DEBUG: Verifying package provided checksum of '' for 'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip'. DEBUG: Running 'Get-CheckSumValid' with file:'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip', checksum: '', checksumType: '' DEBUG: Running 'Get-ChocolateyUnzip' with fileFullPath:'C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.z ip'', destination: 'C:\ProgramData\chocolatey\lib\Atom.0.117.0\tools', specificFolder: ', packageName: 'Atom' Extracting C:\Users\Zachary\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip t o C:\ProgramData\chocolatey\lib\Atom.0.117.0\tools... DEBUG: wrapping 7za invocation with Write-FileUpdateLog DEBUG: Running 'Write-FileUpdateLog' with logFilePath:'C:\ProgramData\chocolatey\lib\Atom.0.117.0\AtomInstall.zip.txt'', locationToMonitor:C:\ProgramData\chocolatey\lib\Atom.0.117.0\tools, Operation: ' param($7zip, $destination, $fileFullPath, [ref]$exitCodeRef) $process = Start-Process $7zip -ArgumentList "x -o"$destination" -y "$fileFullPath`"" -Wait -WindowStyle Hidden -PassThru

this is here for specific cases in Posh v3 where -Wait is not honored

try { if (!($process.HasExited)) { Wait-Process $process } } catch { }
$exitCodeRef.Value = $process.ExitCode

' DEBUG: Tracking current state of 'C:\ProgramData\chocolatey\lib\Atom.0.117.0\tools'

Write-Error : Atom did not finish successfully. Boo to the chocolatey gods!

[ERROR] This command cannot be run due to the error: The system cannot find the

file specified.

At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-Chocolat eyFailure.ps1:30 char:3

DEBUG: Running 'Move-BadInstall' for Atom version: '0.117.0', packageFolder:'C:\ProgramData\chocolatey\lib\Atom.0.117.0' DEBUG: Moving bad package 'Atom v0.117.0' to 'C:\ProgramData\chocolatey\lib-bad'. Write-Error : Package 'Atom v0.117.0' did not install successfully: This comman d cannot be run due to the error: The system cannot find the file specified. At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:9 0 char:17

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

DEBUG: Evaluating NuGet output for line:
Finished installing 'atom' and dependencies - if errors not shown in console, no
ne detected. Check log for errors if unsure.

C:\WINDOWS\system32>
kevinsawicki commented 10 years ago

Did you install chocolatey just before trying to install Atom?

If you did, can you try restarting your command prompt or powershell window and run the command again?