volta icon indicating copy to clipboard operation
volta copied to clipboard

Installation breaks in WSL

Open mrakelinggar opened this issue 3 years ago • 3 comments

Tried installing volta with curl and bash on WSL (distro Ubuntu-22.04), but gzip says there is a syntax error, and two unknown objects not found.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12319  100 12319    0     0  24604      0 --:--:-- --:--:-- --:--:-- 24588
  Installing latest version of Volta (1.0.8)
    Checking for existing Volta installation
    Fetching archive for Linux, version 1.0.8
######################################################################## 100.0%
    Creating directory layout
  Extracting Volta binaries and launchers
/usr/bin/gzip: 1: ELF: not found
/usr/bin/gzip: 3: : not found
/usr/bin/gzip: 4: Syntax error: "(" unexpected
tar: Child returned status 2
tar: Error is not recoverable: exiting now

mrakelinggar avatar Jun 15 '22 06:06 mrakelinggar

@mrakelinggar That's very odd! It's almost like the archive it's fetching is corrupted somehow. Is it possible you're behind a firewall or wifi hotspot that is injecting something into the requests? E.g. instead of serving the file we're trying to download, it's showing a "please log in" page, which then causes tar to fail to unpack since it's not an archive.

charlespierce avatar Jun 23 '22 23:06 charlespierce

Btw for me the installation on WSL2 within a Ubuntu-22.04 distro works flawlessly. So it's not a general issue with WSL2

trallnag avatar Jul 03 '22 22:07 trallnag

I got the same error on Ubuntu 22.04 with WSL2

pcfields avatar Jul 21 '22 19:07 pcfields