dh_autotools-dev_restoreconfig: 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/dh_autotools-dev_restoreconfig - from package: autotools-dev

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