bacula-director-pgsql fails to purge if postgresql is not running

Bug #582755 reported by edro4838
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: bacula

using packages from ubuntu release 10.4
package

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-director-pgsql 5.0.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Tue May 18 17:54:33 2010
ErrorMessage: subprocess installed pre-removal script returned error exit status 10
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: bacula
Title: package bacula-director-pgsql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10

Revision history for this message
edro4838 (edro4838) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Removing bacula-director-pgsql ...
dbconfig-common: dumping pgsql database bacula to /var/tmp/bacula-director-pgsql.bacula.2010-05-18-17.54.pgsql.Xtx4Aw.
unable to connect to postgresql server.
error encountered dumping database:
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.0/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x16e0e00' at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 120, <GEN0> line 11.
dbconfig-common: bacula-director-pgsql remove: retrying.
dpkg: error processing bacula-director-pgsql (--purge):
 subprocess installed pre-removal script returned error exit status 10

Changed in bacula (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
summary: - package bacula-director-pgsql 5.0.1-1ubuntu1 failed to install/upgrade:
- subprocess installed pre-removal script returned error exit status 10
+ bacula-director-pgsql fails to purge if postgresql is not running
Revision history for this message
Chuck Short (zulcss) wrote :

Can you make sure that the postgresql server is running before uninstalling?

Thanks
chuck

Changed in bacula (Ubuntu):
status: Confirmed → Triaged
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.