Curl: option --retry-connrefused: is unknown

You right. I use Ubuntu 16.4 and update curl help to fix issue.

Solution is (under root or use sudo):
apt remove curl
apt purge curl
apt update
apt install -y libssl-dev autoconf libtool make
cd /usr/local/src
rm -rf curl*
wget https://curl.haxx.se/download/curl-7.70.0.zip
unzip curl-7.70.0.zip
cd curl-7.70.0
./buildconf
./configure --with-ssl
make
make install
ldconfig

1 Like