pkgsync: 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/sbin/pkgsync - from package: pkgsync

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