linaro-hwpack-replace: 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/linaro-hwpack-replace - from package: linaro-image-tools

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