dh_sodeps: 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/dh_sodeps - from package: pkg-kde-tools

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