debconf-loadtemplate: 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/debconf-loadtemplate - from package: debconf-utils

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