Hi: Responding to automatic request for added info for you to solve problem.
I am having difficulties with broken packages. I tried to install postgresql-9.3 and received error report that postgresql-9.3-client and postgresql-9.3-common were not installed because some dependencies were not available. So I installed this two programs and reinstalled postgresql-9.3. Received error: <-- snip-it --> * Starting PostgreSQL 9.3 database server * The PostgreSQL server failed to start. Please check the log output: 2015-07-14 21:42:23 PDT FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied [fail] invoke-rc.d: initscript postgresql, action "start" failed. dpkg: error processing package postgresql-9.3 (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up postgresql-9.3 (9.3.9-0ubuntu0.14.04) ... * Starting PostgreSQL 9.3 database server * The PostgreSQL server failed to start. Please check the log output: 2015-07-14 21:42:28 PDT FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied [fail] invoke-rc.d: initscript postgresql, action "start" failed. dpkg: error processing package postgresql-9.3 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: postgresql-9.3 Hope this helps, Bob -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1469507 Title: package postgresql-9.3 9.3.9-0ubuntu0.14.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-9.3/+bug/1469507/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs