pkg-map: 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/share/diskimage-builder/elements/pkg-map/bin/pkg-map - from package: python-diskimage-builder

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