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

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