I have installed postgres 9.2 on ubuntu 12.04 like this:
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.2
However after this, i get the following error:
2012-11-12 17:49:38 GMT WARNING: archive_cleanup_command "pg_archivecleanup /var/lib/postgresql/9.2/wals/ %r": return code 32512
sh: 1: pg_archivecleanup: not found
The same happens if I try directly as root:
root(at)slave-db ~ # pg_archivecleanup
pg_archivecleanup: command not found
What can I do about it?