volta
volta copied to clipboard
Installation breaks in WSL
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 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.
Btw for me the installation on WSL2 within a Ubuntu-22.04 distro works flawlessly. So it's not a general issue with WSL2
I got the same error on Ubuntu 22.04 with WSL2