package postgresql-8.4 8.4.3-0ubuntu9.10 failed to install/upgrade: * Error: Could not create log file /var/log/postgresql/postgresql-8.4-main.log

Bug #559081 reported by Harry Wood
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
postgresql-8.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: postgresql-8.4

Getting auto-updates through the Update Manager. Problem with 8.4 8.4.3-0 (I notice similar bugs are already logged for 8.4 8.4.2 versions)

E: postgresql-8.4: subprocess installed post-installation script returned error exit status 1
E: postgresql-contrib-8.4: dependency problems - leaving unconfigured

ProblemType: Package
Architecture: amd64
Date: Fri Apr 9 10:32:58 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Package: postgresql-8.4 8.4.3-0ubuntu9.10
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
SourcePackage: postgresql-8.4
Title: package postgresql-8.4 8.4.3-0ubuntu9.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-21-generic x86_64

Revision history for this message
Harry Wood (j-launchpad-onlineanimals-co-uk) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report

The relevant error is
---
Setting up postgresql-8.4 (8.4.3-0ubuntu9.10) ...
 * Starting PostgreSQL 8.4 database server
 * Error: Could not create log file /var/log/postgresql/postgresql-8.4-main.log
   ...fail!
invoke-rc.d: initscript postgresql-8.4, action "start" failed.
dpkg: error processing postgresql-8.4 (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in postgresql-8.4 (Ubuntu):
status: New → Incomplete
summary: - package postgresql-8.4 8.4.3-0ubuntu9.10 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ package postgresql-8.4 8.4.3-0ubuntu9.10 failed to install/upgrade: *
+ Error: Could not create log file
+ /var/log/postgresql/postgresql-8.4-main.log
Changed in postgresql-8.4 (Ubuntu):
status: Incomplete → New
Revision history for this message
xcape77 (xcape77) wrote :

This one fixed the problem for me:

sudo mkdir /var/log/postgresql

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.