Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install cyg-get #67

Closed
thecotne opened this issue Apr 4, 2015 · 5 comments
Closed

can't install cyg-get #67

thecotne opened this issue Apr 4, 2015 · 5 comments

Comments

@thecotne
Copy link

thecotne commented Apr 4, 2015

PS C:\> choco install cyg-get
Chocolatey v0.9.9.4
Installing the following packages:
cyg-get
By installing you accept licenses for the packages.

cyg-get v1.1.2
 Found 'chocolateyinstall.ps1':

$path = Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'cyg-get.ps1'

Install-ChocolateyPowershellCommand 'cyg-get' $path


Do you want to run the script?
 NOTE: If you choose 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
 WARNING: Some imported command names include unapproved verbs which might make
 them less discoverable.  Use the Verbose parameter for more detail or type
 Get-Verb to see the list of approved verbs.
 Adding C:\ProgramData\bin\cyg-get.bat and pointing it to powershell command C:\ProgramData\chocolatey\lib\cyg-get\tools
\cyg-get.ps1
 Out-File : Could not find a part of the path 'C:\ProgramData\bin\cyg-get.bat'.
 At C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPowershellComm
 and.ps1:40 char:102
 + powershell -NoProfile -ExecutionPolicy unrestricted -Command ""& `'$psFileFul
 lPath`'  %*"""| Out-File <<<<  $packageBatchFileName -encoding ASCII
     + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundExce
    ption
     + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.Ou
    tFileCommand
cyg-get install not successful.
Error while running 'C:\ProgramData\chocolatey\lib\cyg-get\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey installed 0/1 package(s). 1 package(s) failed.
 See the log for details.
Failures:
 - cyg-get
@gep13
Copy link
Member

gep13 commented Apr 5, 2015

@ferventcoder can you add anything to this issue?

@ferventcoder
Copy link
Contributor

This doesn't appear to be an issue with the latest version of choco. The use of $nugetExePath is what did it. It was fixed by chocolatey/choco#267

@ferventcoder
Copy link
Contributor

However it should not have affected 0.9.9.4 - chocolatey/choco@cb3aed93

@ferventcoder
Copy link
Contributor

Found it! chocolatey/choco@a830a70

Fixed in 0.9.9.5

@JulianIsrael
Copy link

JulianIsrael commented Nov 27, 2016

Is this really fixed? I was having the same issue in latest version cyg-get 1.2.1 what i did was downloaded the setup-x86_64.exe from https://cygwin.com/setup-x86_64.exe put it in c:\toos\cygwin renamed as cygwinsetup.exe and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants