lsh-upgrade: 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/lsh-upgrade - from package: lsh-utils

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