The TL;DR is that the server doesn't start after installation which lets the install/upgrade be considered failed. Yet since you purge and re-install it should work for you just as it does for me and others. I hope the systemctl status output helps to get an initial lead where to look into.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1694269 Title: package postgresql-9.3 9.3.16-0ubuntu0.14.04 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-9.3/+bug/1694269/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs