dpkg-gensymbols: 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-gensymbols - 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-gensymbols - from package: dpkg-dev
/usr/share/pkg-kde-tools/bin/dpkg-gensymbols - from package: pkg-kde-tools

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