debfoster2aptitude: 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/sbin/debfoster2aptitude - from package: debfoster

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