cachepic: 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/cachepic - from package: texlive-pictures

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