restore-trash: 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/restore-trash - from package: trash-cli

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