* Starting PostgreSQL 9.1 database server
* The PostgreSQL server failed to start. Please check the log output:
2013-03-11 23:54:20 GMT FATAL: data directory "/var/lib/postgresql/9.1/main" has group or world access
2013-03-11 23:54:20 GMT DETAIL: Permissions should be u=rwx (0700).
O log diz que o arquivo /var/lib/postgresql/9.1/main tem permissão errada, deve ser 0700. Abra um terminal (Ctrl + Alt + T) e execute:
sudo chmod 700 /var/lib/postgresql/9.1/main
Em seguida, corrija todos os pacotes quebrados / parcialmente instalados:
sudo apt-get update
sudo apt-get -f install