apt-ftparchive: 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/apt-ftparchive - from package: apt-utils

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