last-merge-batches: 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

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/last-merge-batches - from package: last-align

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