headmelted / codebuilds

Community builds of Visual Studio Code for Chromebooks and Raspberry Pi
https://code.headmelted.com
MIT License
1.03k stars 56 forks source link

Cannot write to ‘-’ (Broken pipe) #121

Open R-fred opened 4 years ago

R-fred commented 4 years ago

Running the following command on Raspbian, I run into the following issue that I was able to fix easily. Hopefully it can be useful to other people that might encounter the same issue.

# command

sudo -s . <( wget -O - https://code.headmelted.com/installers/apt.sh )

# issue Redirecting output to ‘wget-log’. /bin/bash: /dev/fd/63: No such file or directory

--2020-07-01 22:08:34-- https://code.headmelted.com/installers/apt.sh Resolving code.headmelted.com (code.headmelted.com)... 2606:4700:3037::681b:ba50, 2606:4700:3034::ac43:8efb, 2606:4700:3035::681b:bb50, ... Connecting to code.headmelted.com (code.headmelted.com)|2606:4700:3037::681b:ba50|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-sh] Saving to: ‘STDOUT’

Cannot write to ‘-’ (Broken pipe).

# fix In home directory: wget https://code.headmelted.com/installers/apt.sh chmod 755 apt.sh sudo -s ./apt.sh