akonadi_migration_agent: 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/akonadi_migration_agent - from package: kdepim-runtime

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