ctanupload: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/ctanupload - from package: texlive-extra-utils

You may install the required package with command apt-get install {package}
Error in other languages:
ctanupload: bevel nie gevind nie
ctanupload: comandă negăsită
ctanupload: comando não encontrado
ctanupload: commande introuvable
ctanupload: command not found
ctanupload: käsku ei ole
ctanupload: không tìm thấy lệnh
ctanupload: komanda nerasta
ctanupload: Kommando nicht gefunden.
ctanupload: kommandot finns inte
ctanupload: komut yok
ctanupload: nie znaleziono polecenia
ctanupload: níor aimsíodh an t-ordú
ctanupload: no se encontró la orden
ctanupload: no s'ha trobat l'ordre
ctanupload: opdracht niet gevonden
ctanupload: parancs nem található
ctanupload: perintah tidak ditemukan
ctanupload: príkaz nenájdený
ctanupload: příkaz nenalezen
ctanupload: команда не найдена
ctanupload: командата не е открита
ctanupload: 命令找不到
ctanupload: コマンドが見つかりません