cpclean: 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/cpclean - from package: hugin-tools

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