package postgresql-9.3 9.3.9-0ubuntu0.14.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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.
ProcVersionSign
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:
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.
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
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 postgresql/ .s.PGSQL. 5432.lock" : Permission denied
[fail] 0ubuntu0. 14.04) ... postgresql/ .s.PGSQL. 5432.lock" : Permission denied
[fail]
* 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/
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-
* 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/
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