tpm_nvwrite: 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/sbin/tpm_nvwrite - from package: tpm-tools

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