dh_sameversiondep: 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_sameversiondep - from package: pkg-kde-tools

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