dpkg-genchanges: 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 CentOS possible default full paths are:

/usr/bin/dpkg-genchanges - from package: dpkg-dev

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/dpkg-genchanges - from package: dpkg-dev

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