atom / chocolatey

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

Install/Uninstall issues #38

Closed skmexyz closed 9 years ago

skmexyz commented 9 years ago

I tried to install notepad++, -> installs like a charm, can't uninstall (no ps1 file) I tried to install Ruby -> exits. I have attached the debug code below

C:\Windows\system32>choco install ruby -debug
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
  behaviors that change state without prompting for confirmation. Start
  using it now in your automated scripts.

  For details on the all new Chocolatey, visit http://bit.ly/new_choco
DEBUG: Running 'Get-ConfigValue' with configValue:'cacheLocation'
DEBUG: Running 'Get-UserConfigValue' with configValue:'cacheLocation'
DEBUG: After checking the user config the value of 'cacheLocation' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'cacheLocation'
DEBUG: After checking the global config the value of 'cacheLocation' is ''
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:''
DEBUG: Arguments: $command = 'install'|$force=False
|$prerelease=False|$packageNames='ruby'
|$source=''
|$version=''|$allVersions=False
|$overrideArguments=False|$InstallArguments=''
|$localonly=False|$verbosity=False|$debug=True|$quiet=False
|$name=''|$ignoreDependencies=False|$forceX86=False
|$packageParameters=''
|PowerShellVersion=2.0|OSVersion=6.1.7601.65536
DEBUG: Current Security Protocol - Ssl3, Tls
DEBUG: Running 'Chocolatey-Install' for 'ruby' with source: '', version: '',
installerArguments:''
DEBUG: Running 'Chocolatey-NuGet' for ruby with source:''. Force? False
Chocolatey (v0.9.8.33) is installing 'ruby' and dependencies. By installing you
accept the license for 'ruby' and each dependency you are installing.
DEBUG: Installing packages to "C:\ProgramData\chocolatey\lib".
DEBUG: Running 'Run-NuGet' for ruby 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
ruby -OutputDirectory "C:\ProgramData\chocolatey\lib" -Source
"https://chocolatey.org/api/v2/;" -NonInteractive -NoCache
DEBUG: Installing 'ruby 2.1.5'.
Successfully installed 'ruby 2.1.5'.
DEBUG: Evaluating NuGet output for line: Installing 'ruby 2.1.5'.
DEBUG: Evaluating NuGet output for line: Successfully installed 'ruby 2.1.5'.
DEBUG: NuGet installed ruby. If we are ignoring dependencies (False) then we
will clean this up.

ruby v2.1.5
DEBUG: Running 'Delete-ExistingErrorLog' for ruby
DEBUG: Looking for failure log at
'C:\Users\100500~1\AppData\Local\Temp\chocolatey\ruby\failure.log'
DEBUG: Found the failure log. Deleting it...
DEBUG: Running 'Run-ChocolateyPS1' for ruby with
packageFolder:'C:\ProgramData\chocolatey\lib\ruby.2.1.5', action: 'install'
DEBUG:   __ PowerShell install (chocolateyinstall.ps1) __
DEBUG:   Looking for chocolateyinstall.ps1 in folder
'C:\ProgramData\chocolatey\lib\ruby.2.1.5'. If chocolateyinstall.ps1 is found,
it will be run.
DEBUG: Action file is 'chocolateyInstall.ps1'
DEBUG: Running
'C:\ProgramData\chocolatey\lib\ruby.2.1.5\tools\chocolateyInstall.ps1'
DEBUG: Running 'Get-BinRoot'
DEBUG: Running 'Install-ChocolateyPackage' for ruby with
url:'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5.exe?direc
t', args: '/verysilent /dir="C:\tools\ruby215" /tasks="assocfiles,modpath"',
fileType: 'exe', url64bit:
'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5-x64.exe?direc
t', checksum: 'eacd2526ef61fb73c0e642828675e94d', checksumType: '', checksum64:
 '3aad5fbfe6bfcf9cf3237ed9f048b81f', checksumType64: '', validExitCodes: '0'
DEBUG: Running 'Get-ChocolateyWebFile' for ruby with
url:'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5.exe?direc
t',
fileFullPath:'C:\Users\100500~1\AppData\Local\Temp\chocolatey\ruby\rubyInstall.
exe',
url64bit:'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5-x64.
exe?direct', checksum: 'eacd2526ef61fb73c0e642828675e94d', checksumType: '',
checksum64: '3aad5fbfe6bfcf9cf3237ed9f048b81f', checksumType64: ''
DEBUG: Running 'Get-ProcessorBits'
DEBUG: CPU is 64 bit
DEBUG: Setting url to
'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5-x64.exe?direc
t' and bitPackage to 64
DEBUG: Running 'Get-WebHeaders' with
url:'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5-x64.exe?d
irect', userAgent: 'chocolatey command line'
DEBUG: Setting the UserAgent to 'chocolatey command line'
DEBUG: Request Headers:
DEBUG:   'Accept':'*/*'
DEBUG:   'User-Agent':'chocolatey command line'
DEBUG: Converting Security Protocol to SSL3 only for Powershell v2
DEBUG: Running 'Get-WebHeaders' with
url:'http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.5-x64.exe?d
irect', userAgent: 'chocolatey command line'
DEBUG: Setting the UserAgent to 'chocolatey command line'
DEBUG: Request Headers:
DEBUG:   'Accept':'*/*'
DEBUG:   'User-Agent':'chocolatey command line'
Write-Error : ruby did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Exception calling "GetResponse" with "0" argument(s): "The remote serve
r returned an error: (403) Forbidden."
-----------------------
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-Chocolat
eyFailure.ps1:30 char:14
+   Write-Error <<<<  $errorMessage
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

Write-Error : ruby did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Exception calling "GetResponse" with "0" argument(s): "The remote serve
r returned an error: (403) Forbidden."
-----------------------
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-Chocolat
eyFailure.ps1:30 char:14
+   Write-Error <<<<  $errorMessage
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

DEBUG: Running 'Move-BadInstall' for ruby version: '2.1.5',
packageFolder:'C:\ProgramData\chocolatey\lib\ruby.2.1.5'
DEBUG: Moving bad package 'ruby v2.1.5' to 'C:\ProgramData\chocolatey\lib-bad'.
Write-Error : Package 'ruby v2.1.5' did not install successfully: Exception cal
ling "GetResponse" with "0" argument(s): "The remote server returned an error:
(403) Forbidden."
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:9
0 char:28
+                 Write-Error <<<<  "Package `'$installedPackageName v$installe
dPackageVersion`' did not install successfully: $($_.Exception.Message)"
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

DEBUG: Evaluating NuGet output for line:
Finished installing 'ruby' and dependencies - if errors not shown in console, no
ne detected. Check log for errors if unsure.
DEBUG: Exiting with non-zero exit code.

C:\Windows\system32>

I am running Windows 7

ferventcoder commented 9 years ago

@sonal-keshav This repository is for Atom's Chocolatey package. I think you are in the wrong spot to be mentioning this. Perhaps try the Chocolatey mailing list, or https://github.com/chocolatey/chocolatey/issues? Although I can tell you that if you are looking at package issues, those go back to each package maintainer and you should use the community feed site (https://chocolatey.org/) to report issues.

ferventcoder commented 9 years ago

@kevinsawicki would you mind closing this one?

kevinsawicki commented 9 years ago

would you mind closing this one?

Yup, will do.