package postgresql-9.3 9.3.9-0ubuntu0.14.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1469507 reported by Fernando
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
postgresql-9.3 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Fail on start computer

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: postgresql-9.3 9.3.9-0ubuntu0.14.04
ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
Uname: Linux 3.13.0-55-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Sat Jun 27 22:42:14 2015
DuplicateSignature: package:postgresql-9.3:9.3.9-0ubuntu0.14.04:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-10-09 (261 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: postgresql-9.3
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
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fernando (fernando-i) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Bob G Grieger (rgrieger) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in postgresql-9.3 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.