cdbs-edit-patch: 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/cdbs-edit-patch - from package: cdbs

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