dom-save-patches: 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/dom-save-patches - from package: dh-ocaml

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