hetzner-api-dyndns icon indicating copy to clipboard operation
hetzner-api-dyndns copied to clipboard

curl not found

Open Giga-Pudding opened this issue 2 years ago • 2 comments

The script states, that curl is not installed (Debian 12 Bookworm)

root@server:~# ./dyndns.sh
Error: Record_Name: : To run the script 'curl' is needed, but it seems not to be installed.
Error: Record_Name: : Please check 'https://github.com/FarrowStrange/hetzner-api-dyndns#install-tools' for more informations and try again.
/usr/bin/curl

But in fact, it is installed:

root@server:~# apt install curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.88.1-10+deb12u4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@server:~# command -v curl
/usr/bin/curl

root@server:~# curl
curl: try 'curl --help' or 'curl --manual' for more information

Giga-Pudding avatar Dec 10 '23 19:12 Giga-Pudding

Okay, after finding this issue, i understood what was going on: https://github.com/FarrowStrange/hetzner-api-dyndns/issues/23 The script should be fixed. I wasted too much time for this today -.-

Giga-Pudding avatar Dec 10 '23 19:12 Giga-Pudding

Thanks, same problem. I don't get why the header says /bin/sh if it only runs using bash.

nsty avatar Jan 04 '24 13:01 nsty