systemd-machine-id-setup: 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/systemd-machine-id-setup - from package: systemd

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