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

go@1.12.4: extract_dir error #19

Closed
daveneeley opened this issue Apr 30, 2019 · 3 comments · Fixed by ScoopInstaller/Scoop#3425 or ScoopInstaller/Scoop#3427
Closed

go@1.12.4: extract_dir error #19

daveneeley opened this issue Apr 30, 2019 · 3 comments · Fixed by ScoopInstaller/Scoop#3425 or ScoopInstaller/Scoop#3427

Comments

@daveneeley
Copy link

daveneeley commented Apr 30, 2019

 scoop update go
go: 1.10.2 -> 1.12.4
Updating one outdated app:
Updating 'go' (1.10.2 -> 1.12.4)
Downloading new version
go1.12.4.windows-amd64.zip (134.7 MB) [=============================================================================================================] 100%
Checking hash of go1.12.4.windows-amd64.zip ... ok.
Uninstalling 'go' (1.10.2)
Running uninstaller script...
Removing ~\go\bin from your path.
Removing shim for 'go'.
Removing shim for 'gofmt'.
Removing shim for 'godoc'.
Unlinking ~\scoop\apps\go\current
Installing 'go' (1.12.4) [64bit]
Loading go1.12.4.windows-amd64.zip from cache
Extracting go1.12.4.windows-amd64.zip ... Expand-Archive : A parameter cannot be found that matches parameter name 'DestinationPath'.
At C:\Users\dneeley\scoop\apps\scoop\current\lib\decompress.ps1:182 char:36
+         Expand-Archive -Path $Path -DestinationPath $DestinationPath  ...
+                                    ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Expand-Archive], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Pscx.Commands.IO.Compression.ExpandArchiveCommand

ERROR Could not find 'go'! (error 16)

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/scoopinstaller/scoop-main/issues/new?title=go%401.12.4%3a+extract_dir+error
True
get-command Expand-Archive

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          Expand-Archive                                     3.2.0.0    Pscx
@niheaven
Copy link
Member

niheaven commented May 1, 2019

Same as #20, uninstall pscx will help.

@chawyehsu
Copy link
Member

Maybe we should make scoop to be compatible with PSCX.

@notskm
Copy link

notskm commented May 1, 2019

I agree. I'm running into the same issue with the CMake package. I use PSCX for Import-VisualStudioVars. I imagine a lot of people use it for the same reason.

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