[Bug 684879] Re: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Clint Byrum clint at fewbar.com
Fri Dec 3 19:43:51 GMT 2010


Gordon, thanks for taking the time to file this bug report and help us
make ubuntu better.

The relevant error is here:

Setting up bacula-director-mysql (5.0.1-1ubuntu1) ...
debconf: Unknown template field '_description', in stanza #9 of /var/lib/dpkg/info/bacula-director-mysql.templates

dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-
mysql.conf

Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version
Processing configuration...Ok.
 * Starting Bacula Director...
03-Dec 07:44 bacula-dir: ERROR TERMINATION at lex.c:784
Config error: expected a string, got T_EOL: =
            : line 236, col 12 of file /etc/bacula/bacula-dir.conf
  dbname = ; DB Address = ""; dbuser = ""; dbpassword = ""

   ...fail!
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 1

The first line suggests that maybe the debconf templates aren't right,
but I believe that is a red herring. The problem seems to be in the
format of your configuration file. My guess is that its because you have
dbname = ;

Please try running

sudo dpkg-reconfigure -a bacula-director-mysql

and entering a full name for the database name. Another option is to
just edit /etc/bacula/bacula-dir.conf and fix the values there.

Once that is done

sudo apt-get -f install

Should finish the update

Marking Invalid as this is actually just a configuration error.

** Changed in: bacula (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.
https://bugs.launchpad.net/bugs/684879

Title:
  package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1



More information about the Ubuntu-server-bugs mailing list