dpkg-repack: 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/dpkg-repack - from package: dpkg-repack

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