dh_configpackage: 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

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_configpackage - from package: config-package-dev

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