shim: 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/shim - from package: libfpm-helper0

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