dh_haskell_extra_depends: 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_haskell_extra_depends - from package: haskell-devscripts

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