[Bug 264374] [NEW] package bacula-director-pgsql 2.2.8-5ubuntu7 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bruno Areal bruno.areal at gmail.com
Wed Sep 3 16:50:27 BST 2008


Public bug reported:

Binary package hint: bacula

bacula install returned:

E: bacula-director-pgsql: subprocess post-installation script returned error exit status 1
E: bacula-server: dependency problems - leaving unconfigured


here is the full synaptic log:

Preconfiguring packages ...
Selecting previously deselected package bacula-common.
(Reading database ... 114169 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-common_2.2.8-5ubuntu7_amd64.deb) ...
Adding user 'bacula'... Ok.
Selecting previously deselected package bacula-console.
Unpacking bacula-console (from .../bacula-console_2.2.8-5ubuntu7_amd64.deb) ...
Selecting previously deselected package liblockfile1.
Unpacking liblockfile1 (from .../liblockfile1_1.06.2_amd64.deb) ...
Selecting previously deselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.69-2_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.69-2_amd64.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.69-2_amd64.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.69-2_all.deb) ...
Selecting previously deselected package mailx.
Unpacking mailx (from .../mailx_1%3a8.1.2-0.20071017cvs-2_amd64.deb) ...
Setting up bacula-common (2.2.8-5ubuntu7) ...

Selecting previously deselected package bacula-director-common.
(Reading database ... 114514 files and directories currently installed.)
Unpacking bacula-director-common (from .../bacula-director-common_2.2.8-5ubuntu7_amd64.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.3.3-0ubuntu0.8.04_amd64.deb) ...
Selecting previously deselected package postgresql-client-common.
Unpacking postgresql-client-common (from .../postgresql-client-common_87_all.deb) ...
Selecting previously deselected package postgresql-client-8.3.
Unpacking postgresql-client-8.3 (from .../postgresql-client-8.3_8.3.3-0ubuntu0.8.04_amd64.deb) ...
Selecting previously deselected package postgresql-client.
Unpacking postgresql-client (from .../postgresql-client_8.3.3-0ubuntu0.8.04_all.deb) ...
Selecting previously deselected package bacula-director-pgsql.
Unpacking bacula-director-pgsql (from .../bacula-director-pgsql_2.2.8-5ubuntu7_amd64.deb) ...
Selecting previously deselected package mtx.
Unpacking mtx (from .../mtx_1.3.11-0ubuntu1_amd64.deb) ...
Selecting previously deselected package bacula-sd.
Unpacking bacula-sd (from .../bacula-sd_2.2.8-5ubuntu7_amd64.deb) ...
Selecting previously deselected package gawk.
Unpacking gawk (from .../gawk_1%3a3.1.6.dfsg-0ubuntu1_amd64.deb) ...
Selecting previously deselected package bacula-fd.
Unpacking bacula-fd (from .../bacula-fd_2.2.8-5ubuntu7_amd64.deb) ...
Selecting previously deselected package bacula-client.
Unpacking bacula-client (from .../bacula-client_2.2.8-5ubuntu7_all.deb) ...
Selecting previously deselected package bacula-doc.
Unpacking bacula-doc (from .../bacula-doc_2.2.5-1_all.deb) ...
Selecting previously deselected package bacula-sd-pgsql.
Unpacking bacula-sd-pgsql (from .../bacula-sd-pgsql_2.2.8-5ubuntu7_amd64.deb) ...
Selecting previously deselected package bacula-server.
Unpacking bacula-server (from .../bacula-server_2.2.8-5ubuntu7_all.deb) ...
Selecting previously deselected package bacula-traymonitor.
Unpacking bacula-traymonitor (from .../bacula-traymonitor_2.2.8-5ubuntu7_amd64.deb) ...
Setting up bacula-console (2.2.8-5ubuntu7) ...

Setting up liblockfile1 (1.06.2) ...
Setting up exim4-config (4.69-2) ...
Adding system-user for exim (v4)

Setting up exim4-base (4.69-2) ...

Setting up exim4-daemon-light (4.69-2) ...
 * Starting MTA
   ...done.

Setting up exim4 (4.69-2) ...

Setting up mailx (1:8.1.2-0.20071017cvs-2) ...

Setting up bacula-director-common (2.2.8-5ubuntu7) ...

Setting up libpq5 (8.3.3-0ubuntu0.8.04) ...

Setting up postgresql-client-common (87) ...
Setting up postgresql-client-8.3 (8.3.3-0ubuntu0.8.04) ...

Setting up postgresql-client (8.3.3-0ubuntu0.8.04) ...
Setting up bacula-director-pgsql (2.2.8-5ubuntu7) ...
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
 * Starting Bacula Director:
03-Sep 16:34 bacula-dir: ERROR TERMINATION at parse_conf.c:829
Config error: Cannot open config file "/etc/bacula/bacula-dir.conf": No such file or directory

   ...fail!
dpkg: error processing bacula-director-pgsql (--configure):
 subprocess post-installation script returned error exit status 1
Setting up mtx (1.3.11-0ubuntu1) ...
Setting up bacula-sd (2.2.8-5ubuntu7) ...

Setting up gawk (1:3.1.6.dfsg-0ubuntu1) ...

Setting up bacula-fd (2.2.8-5ubuntu7) ...

Setting up bacula-client (2.2.8-5ubuntu7) ...
Setting up bacula-doc (2.2.5-1) ...
Setting up bacula-sd-pgsql (2.2.8-5ubuntu7) ...
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 2.2.8-5ubuntu7) | bacula-director; however:
  Package bacula-director-mysql is not installed.
  Package bacula-director is not installed.
  Package bacula-director-pgsql which provides bacula-director is not configured yet.
dpkg: error processing bacula-server (--configure):
 dependency problems - leaving unconfigured
Setting up bacula-traymonitor (2.2.8-5ubuntu7) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 bacula-director-pgsql
 bacula-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up bacula-director-pgsql (2.2.8-5ubuntu7) ...
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
 * Starting Bacula Director:
03-Sep 16:34 bacula-dir: ERROR TERMINATION at parse_conf.c:829
Config error: Cannot open config file "/etc/bacula/bacula-dir.conf": No such file or directory

   ...fail!
dpkg: error processing bacula-director-pgsql (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 2.2.8-5ubuntu7) | bacula-director; however:
  Package bacula-director-mysql is not installed.
  Package bacula-director is not installed.
  Package bacula-director-pgsql which provides bacula-director is not configured yet.
dpkg: error processing bacula-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bacula-director-pgsql
 bacula-server

ProblemType: Package
Architecture: amd64
Date: Wed Sep  3 16:34:50 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: bacula-director-pgsql 2.2.8-5ubuntu7
PackageArchitecture: amd64
SourcePackage: bacula
Title: package bacula-director-pgsql 2.2.8-5ubuntu7 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-19-generic x86_64

** Affects: bacula (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package

-- 
package bacula-director-pgsql 2.2.8-5ubuntu7 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/264374
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.



More information about the Ubuntu-server-bugs mailing list