Martin - I had the same issue. In my case, the directory /var/log/postgresql was missing. (That is, in /var/log, there were other directories, but not "postgresql").
Creating the directory and chmod'ing it to 777 fixed this issue. This started happening recently, and seems like a bug in the postgresql-9.1 package - it should either make the directory if it's missing on install, or not care if the directory is missing on uninstall. Maybe a "mkdir -p" command is all that's needed here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048664 Title: package postgresql-9.1 9.1.4-0ubuntu12.04 failed to install/upgrade: il sottoprocesso nuovo script pre-removal ha restituito lo stato di errore 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-9.1/+bug/1048664/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs