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

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