mkfs.s3ql: 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/mkfs.s3ql - from package: s3ql

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