mdk2solv: 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/mdk2solv - from package: libsolv-tools

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