lasts: 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/lasts - from package: multicat

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