gitdpkgname: 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/gitdpkgname - from package: gnuit

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