pg_updatedicts: 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/pg_updatedicts - from package: postgresql-common

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