lesspipe: 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:

/bin/lesspipe - from package: less
/usr/bin/lesspipe - from package: less

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