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

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