codebuilds icon indicating copy to clipboard operation
codebuilds copied to clipboard

Cannot write to ‘-’ (Broken pipe)

Open R-fred opened this issue 5 years ago • 0 comments

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’

  •                   [ <=>                ]       0  --.-KB/s    in 0s      
    

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

R-fred avatar Jul 01 '20 20:07 R-fred