This looks like a problem; is curl actually installed? If not, install it: apt install curl.
apt install curl