Skip to content

Instantly share code, notes, and snippets.

@dsplaisted
Created September 24, 2015 00:41
Show Gist options
  • Save dsplaisted/bed0942222ae24a56ea7 to your computer and use it in GitHub Desktop.
Save dsplaisted/bed0942222ae24a56ea7 to your computer and use it in GitHub Desktop.
cinst scriptcs failure
C:\WINDOWS\system32>cinst scriptcs -pre -source https://www.myget.org/F/scriptcsnightly/
Chocolatey v0.9.9.8
Installing the following packages:
scriptcs
By installing you accept licenses for the packages.
scriptcs v0.15.0-nightly-150908
The package scriptcs wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?
1) yes
2) no
3) print
1
Retrieving NuGet dependencies...
Unable to find version '1.2.20906.2' of package 'Roslyn.Compilers.CSharp'.
Remove-Item : Cannot find path 'C:\ProgramData\chocolatey\lib\scriptcs\tools\nugets' because it does not exist.
At C:\ProgramData\chocolatey\lib\scriptcs\tools\chocolateyInstall.ps1:15 char:5
'C:\Users\daplaist\AppData\Roaming\scriptcs' has been removed.
+ Remove-Item $nugetPath -Recurse -Force
'C:\Users\daplaist\AppData\Local\scriptcs' has been removed.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\ProgramData\...cs\tools\nugets:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
WARNING: Write-ChocolateySuccess is deprecated. If you are the maintainer, please remove it from your package file.
The install of scriptcs was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\scriptcs\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 package(s). 1 package(s) failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures:
- scriptcs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment