Skip to content

Instantly share code, notes, and snippets.

@charlesroper
Last active August 29, 2015 14:17
Show Gist options
  • Save charlesroper/52bc455a9feb1f3ed537 to your computer and use it in GitHub Desktop.
Save charlesroper/52bc455a9feb1f3ed537 to your computer and use it in GitHub Desktop.
Chocolatey poshgit install error.
PS C:\Users\Charles> cinst poshgit
!!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
Chocolatey (v0.9.8.33) is installing 'poshgit' and dependencies. By installing you accept the license for 'poshgit' and each dependency you are installing.
poshgit v0.5.0.201401009
Extracting C:\Users\Charles\AppData\Local\Temp\chocolatey\poshgit\poshgitInstall.zip to C:\C:\Tools\poshgit...
Write-Error : poshgit did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Exception calling "CreateDirectory" with "1" argument(s): "The given path's format is
not supported."
-----------------------
At C:\ProgramData\chocolatey\chocolateyInstall\helpers\functions\Write-ChocolateyFailure.ps1:3 0 char:3
+ Write-Error $errorMessage
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
Write-Error : poshgit did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Exception calling "CreateDirectory" with "1" argument(s): "The given path's format is
not supported."
-----------------------
At C:\ProgramData\chocolatey\chocolateyInstall\helpers\functions\Write-ChocolateyFailure.ps1:3 0 char:3
+ Write-Error $errorMessage
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
Write-Error : Package 'poshgit v0.5.0.201401009' did not install successfully: Exception calli ng "CreateDirectory" with "1" argument(s): "The given path's format is not supported."
At C:\ProgramData\chocolatey\chocolateyInstall\functions\Chocolatey-NuGet.ps1:90 char:17
+ Write-Error "Package `'$installedPackageName v$installedPackageV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
Finished installing 'poshgit' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment