Cela ressemble à un problème ; curl est-il réellement installé ? Si non, installez-le : apt install curl.
apt install curl