aptitude-run-state-bundle: 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/aptitude-run-state-bundle - from package: aptitude-common

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