apm_available: 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:

/sbin/apm_available - from package: powermgmt-base

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