Preparing to unpack .../bacula-common_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Adding user 'bacula'... Ok. Unpacking bacula-common (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package libaio1:i386. Preparing to unpack .../libaio1_0.3.109-4_i386.deb ... Unpacking libaio1:i386 (0.3.109-4) ... Selecting previously unselected package libdbd-mysql-perl. Preparing to unpack .../libdbd-mysql-perl_4.025-1_i386.deb ... Unpacking libdbd-mysql-perl (4.025-1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../libterm-readkey-perl_2.31-1_i386.deb ... Unpacking libterm-readkey-perl (2.31-1) ... Selecting previously unselected package mysql-client-core-5.5. Preparing to unpack .../mysql-client-core-5.5_5.5.47-0ubuntu0.14.04.1_i386.deb ... Unpacking mysql-client-core-5.5 (5.5.47-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-client-5.5. Preparing to unpack .../mysql-client-5.5_5.5.47-0ubuntu0.14.04.1_i386.deb ... Unpacking mysql-client-5.5 (5.5.47-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-server-core-5.5. Preparing to unpack .../mysql-server-core-5.5_5.5.47-0ubuntu0.14.04.1_i386.deb ... Unpacking mysql-server-core-5.5 (5.5.47-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-server-5.5. Preparing to unpack .../mysql-server-5.5_5.5.47-0ubuntu0.14.04.1_i386.deb ... Unpacking mysql-server-5.5 (5.5.47-0ubuntu0.14.04.1) ... Selecting previously unselected package bacula-director-common. Preparing to unpack .../bacula-director-common_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-director-common (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-common-mysql. Preparing to unpack .../bacula-common-mysql_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-common-mysql (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package dbconfig-common. Preparing to unpack .../dbconfig-common_1.8.47+nmu1_all.deb ... Unpacking dbconfig-common (1.8.47+nmu1) ... Selecting previously unselected package mysql-client. Preparing to unpack .../mysql-client_5.5.47-0ubuntu0.14.04.1_all.deb ... Unpacking mysql-client (5.5.47-0ubuntu0.14.04.1) ... Selecting previously unselected package bacula-director-mysql. Preparing to unpack .../bacula-director-mysql_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-director-mysql (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package mtx. Preparing to unpack .../archives/mtx_1.3.12-8_i386.deb ... Unpacking mtx (1.3.12-8) ... Selecting previously unselected package bacula-sd. Preparing to unpack .../bacula-sd_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-sd (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-sd-mysql. Preparing to unpack .../bacula-sd-mysql_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-sd-mysql (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-server. Preparing to unpack .../bacula-server_5.2.6+dfsg-9.1ubuntu3_all.deb ... Unpacking bacula-server (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-console. Preparing to unpack .../bacula-console_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-console (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-fd. Preparing to unpack .../bacula-fd_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-fd (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-client. Preparing to unpack .../bacula-client_5.2.6+dfsg-9.1ubuntu3_all.deb ... Unpacking bacula-client (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula. Preparing to unpack .../bacula_5.2.6+dfsg-9.1ubuntu3_all.deb ... Unpacking bacula (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package bacula-traymonitor. Preparing to unpack .../bacula-traymonitor_5.2.6+dfsg-9.1ubuntu3_i386.deb ... Unpacking bacula-traymonitor (5.2.6+dfsg-9.1ubuntu3) ... Selecting previously unselected package mysql-server. Preparing to unpack .../mysql-server_5.5.47-0ubuntu0.14.04.1_all.deb ... Unpacking mysql-server (5.5.47-0ubuntu0.14.04.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot Processing triggers for menu (2.1.46ubuntu1) ... Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Setting up bacula-common (5.2.6+dfsg-9.1ubuntu3) ... Setting up libaio1:i386 (0.3.109-4) ... Setting up libdbd-mysql-perl (4.025-1) ... Setting up libterm-readkey-perl (2.31-1) ... Setting up mysql-client-core-5.5 (5.5.47-0ubuntu0.14.04.1) ... Setting up mysql-client-5.5 (5.5.47-0ubuntu0.14.04.1) ... Setting up mysql-server-core-5.5 (5.5.47-0ubuntu0.14.04.1) ... Setting up mysql-server-5.5 (5.5.47-0ubuntu0.14.04.1) ... 160224 22:52:39 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. 160224 22:52:39 [Note] /usr/sbin/mysqld (mysqld 5.5.47-0ubuntu0.14.04.1) starting as process 14587 ... mysql start/running, process 14723 Setting up bacula-director-common (5.2.6+dfsg-9.1ubuntu3) ... Setting up bacula-common-mysql (5.2.6+dfsg-9.1ubuntu3) ... Setting up dbconfig-common (1.8.47+nmu1) ... Creating config file /etc/dbconfig-common/config with new version Setting up mysql-client (5.5.47-0ubuntu0.14.04.1) ... Setting up mtx (1.3.12-8) ... Setting up bacula-sd (5.2.6+dfsg-9.1ubuntu3) ... Creating config file /etc/default/bacula-sd with new version * Starting Bacula Storage daemon... bacula-sd  [ OK ] Setting up bacula-console (5.2.6+dfsg-9.1ubuntu3) ... Setting up bacula-fd (5.2.6+dfsg-9.1ubuntu3) ... Creating config file /etc/default/bacula-fd with new version * Starting Bacula File daemon... bacula-fd  [ OK ] Setting up bacula-traymonitor (5.2.6+dfsg-9.1ubuntu3) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up bacula-sd-mysql (5.2.6+dfsg-9.1ubuntu3) ... Setting up bacula-client (5.2.6+dfsg-9.1ubuntu3) ... Setting up mysql-server (5.5.47-0ubuntu0.14.04.1) ... Setting up bacula-director-mysql (5.2.6+dfsg-9.1ubuntu3) ... [?1049h[?25l(B           [12;1 H               (BPackage configuration┌───────────────────┤ Configuring bacula-director-mysql ├───────────────────┐│ │ (B│ The bacula-director-mysql package must have a database installed and │ (B│ configured before it can be used. This can be optionally handled with │ (B│ dbconfig-common. │ (B│ │ (B│ If you are an advanced database administrator and know that you want to │ (B│ perform this configuration manually, or if your database has already │ (B│ been installed and configured, you should refuse this option. Details │ (B│ on what needs to be done should most likely be provided in │ (B│ /usr/share/doc/bacula-director-mysql. │ (B│ │ (B│ Otherwise, you should probably choose this option. │ (B│ │ (B│ Configure database for bacula-director-mysql with dbconfig-common? │ (B│ │ (B│  │ (B│ │ (B└───────────────────────────────────────────────────────────────────────────┘  [?12l[?25h(B(B  [?1049l[?1049h[?25l(B                          [?25l[?12l[?25h(BPackage configuration┌──────────────────┤ Configuring bacula-director-mysql ├──────────────────┐│ Please provide the password for the administrative account with which │ (B│ this package should create its MySQL database and user. │ (B│ │ (B│ Password of the database's administrative user: │ (B│ │ (B│ _______________________________________________________________________ │ (B│ │ (B│ │[40 m (B│ │ (B└─────────────────────────────────────────────────────────────────────────┘  (B**[?25l[?12l[?25h(B  [?1049l[?1049h[?25l(B                          [?25l[?12l[?25h(BPackage configuration┌───────────────────┤ Configuring bacula-director-mysql ├───────────────────┐│ Please provide a password for bacula-director-mysql to register with the │  (B│ database server. If left blank, a random password will be generated. │ (B│ │ (B│ MySQL application password for bacula-director-mysql: │ (B│ │ (B│ _________________________________________________________________________ │ (B│ │ (B│ │ (B│ │ (B└─────────── ────────────────────────────────────────────────────────────────┘  (B**[?25l[?12l[?25h(B  [?1049l[?1049h[?25l(B                          [?25l[?12l[?25h(BPackage configuration┌────┤ Configuring bacula-director-mysql ├─────┐│ │ (B│ │ (B│ Password confirmation: │ (B│ │ (B[30 m│ ____________________________________________ │ (B│ │ (B│ │ (B│ │ (B└──────────────────────────────────────────────┘  (B**[?25l[?12l[?25h(B  [?1049ldbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version granting access to database bacula for bacula@localhost: success. verifying access for bacula@localhost: success. creating database bacula: success. verifying database bacula exists: success. populating database via sql... done. dbconfig-common: flushing administrative password Creating config file /etc/default/bacula-dir with new version grep: /etc/bacula/bacula-dir.conf: No such file or directory Processing configuration...sed: -e expression #4, char 24: unknown option to `s' dpkg: error processing package bacula-director-mysql (--configure): subprocess installed post-installation script returned error exit status 1