Bacula-users

Re: [Bacula-users] Errors while try to install Bacula

2008-05-14 10:27:46
Subject: Re: [Bacula-users] Errors while try to install Bacula
From: "Reynier Perez Mira" <rperezm AT uci DOT cu>
To: "John Drescher" <drescherjm AT gmail DOT com>
Date: Wed, 14 May 2008 10:27:07 -0400
Hi,
well following your instructions I made a bacula-dir.conf file and place it in 
/etc/bacula directory. After that I reinstall the bacula:

# apt-get install bacula-client bacula-common bacula-console 
bacula-director-common bacula-director-pgsql bacula-fd bacula-sd 
bacula-sd-pgsql bacula-server

And I still getting errors. See the logs:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  bacula-doc postgresql-contrib dds2tar scsitools sg3-utils
Recommended packages:
  bacula-traymonitor bacula-sd-tools mt-st
The following NEW packages will be installed:
  bacula-client bacula-common bacula-console bacula-director-common
  bacula-director-pgsql bacula-fd bacula-sd bacula-sd-pgsql bacula-server
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2772kB of archives.
After this operation, 6717kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package bacula-common.
(Reading database ... 77106 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-common_2.2.8-5ubuntu7_i386.deb) ...
Selecting previously deselected package bacula-console.
Unpacking bacula-console (from .../bacula-console_2.2.8-5ubuntu7_i386.deb) ...
Setting up bacula-common (2.2.8-5ubuntu7) ...

Selecting previously deselected package bacula-director-common.
(Reading database ... 77228 files and directories currently installed.)
Unpacking bacula-director-common (from 
.../bacula-director-common_2.2.8-5ubuntu7_i386.deb) ...
Selecting previously deselected package bacula-director-pgsql.
Unpacking bacula-director-pgsql (from 
.../bacula-director-pgsql_2.2.8-5ubuntu7_i386.deb) ...
Selecting previously deselected package bacula-sd.
Unpacking bacula-sd (from .../bacula-sd_2.2.8-5ubuntu7_i386.deb) ...
Selecting previously deselected package bacula-fd.
Unpacking bacula-fd (from .../bacula-fd_2.2.8-5ubuntu7_i386.deb) ...
Selecting previously deselected package bacula-client.
Unpacking bacula-client (from .../bacula-client_2.2.8-5ubuntu7_all.deb) ...
Selecting previously deselected package bacula-sd-pgsql.
Unpacking bacula-sd-pgsql (from .../bacula-sd-pgsql_2.2.8-5ubuntu7_i386.deb) ...
Selecting previously deselected package bacula-server.
Unpacking bacula-server (from .../bacula-server_2.2.8-5ubuntu7_all.deb) ...
Setting up bacula-console (2.2.8-5ubuntu7) ...

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

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:                                                    
                                              14-May 09:59 bacula-dir: ERROR 
TERMINATION at util.c:709
Working Directory: "/home/kern/bacula/bin/working" not found. Cannot continue.  
 [fail]
dpkg: error processing bacula-director-pgsql (--configure):
 subprocess post-installation script returned error exit status 1
Setting up bacula-sd (2.2.8-5ubuntu7) ...

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

Setting up bacula-client (2.2.8-5ubuntu7) ...
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
Errors were encountered while processing:
 bacula-director-pgsql
 bacula-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

What's wrong here? Has this something to do with PgSQL support?
Cheers
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users