Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Error "Could not unzip the archive of" for kotlin 1.0.3+ and sbt 0.13.11 #21

Open
shambalaxx opened this issue Jul 20, 2016 · 4 comments
Labels

Comments

@shambalaxx
Copy link

Utils.ps1 fails here:

if ( !(Test-Path "$Script:PGVM_TEMP_PATH\*-$Version") ) {
        throw "Could not unzip the archive of $Candidate $Version. Please delete archive from $Script:PGVM_ARCHIVES_PATH (or delete all with 'gvm flush archives'"
}

Because sbt and kotlin archives don't have version numbers in inner folders. Moreover, kotlin's folder name is "kotlinc".

@flofreud flofreud added the bug label Jul 20, 2016
@calexHG
Copy link

calexHG commented Sep 14, 2016

Just installed and tried posh-gvm for the first time, to try installing Kotlin 1.1 preview releases alongside stable 1.0.x and encountered the same error.

Any news on this?

@shambalaxx
Copy link
Author

@calexHG workaround is to manually rename downloaded archive in PGVM_TEMP_PATH folder and add version to its name like kotlin-1.1. After that you can rerun gvm install. Worked for me.

@flofreud
Copy link
Owner

@shambalaxx Thanks for helping him.

Further work on posh-gvm is on my (overcrowded) todo list. I somehow need to find free time for it. At my work its seldomly used anymore after more and more devs here started to use the new windows subsystem.

@calexHG
Copy link

calexHG commented Sep 14, 2016

@shambalaxx thanks! I may try that later and see if it works.

@flofreud ahhhh — well that makes sense.

I'm still on Windows 8.1, however, as I still haven't heard anything about why I should want Win 10, yet frequently hear about why I would want to avoid it.

The early demo video regarding "Bash on Windows" was interesting until the demonstrator explained roughly that it can't really interoperate with the outside world or something like that (it was a while ago).

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

No branches or pull requests

3 participants