moocowmoo / dashman

DASH wallet/daemon management utilities
MIT License
52 stars 38 forks source link

Script should not test for netcat6 in recent Ubuntu releases #9

Closed alfredch closed 7 years ago

alfredch commented 7 years ago

Ubuntu 16.04 LTS (Xenial) has no netcat6 package any more, because nc now support IPV6. Therfore, testing for package netcat6 is obsolete and stops the script. ./lib/dashman_functions.sh MISSING_DEPENDENCIES="$MISSING_DEPENDENCIES netcat6"

0xfffxfff commented 7 years ago

How did you go about solving this? Manually?

alfredch commented 7 years ago

I solved it by modifying the script. I did a fresh install last week with the latest. The issue seems to be solved.

0xfffxfff commented 7 years ago

Interesting, I'm on the latest branch as well – 0.1.23 @ 1601750 But I get this on Ubuntu 16.04.1 LTS

dashman status
missing dependency:  netcat6
 --> sudo apt-get install  netcat6

Got any hints on this?

0xfffxfff commented 7 years ago

Okay, got it. By default, the package netcat-traditional is installed which uses different syntax?

I had to install netcat-openbsd like so

sudo apt-get install netcat-openbsd

and configure it with

sudo update-alternatives --config nc

and 🎉