migrate-repository: 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/migrate-repository - from package: python-migrate

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