Public bug reported:

Preconfiguring packages ...
Selecting previously unselected package bacula-common.
(Reading database ... 1208575 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-common_5.2.5-0ubuntu6.2_amd64.deb) ...
Adding user 'bacula'... Ok.
Selecting previously unselected package bacula-common-mysql.
Unpacking bacula-common-mysql (from 
.../bacula-common-mysql_5.2.5-0ubuntu6.2_amd64.deb) ...
Selecting previously unselected package bacula-console.
Unpacking bacula-console (from .../bacula-console_5.2.5-0ubuntu6.2_amd64.deb) 
...
Processing triggers for man-db ...
Setting up bacula-common (5.2.5-0ubuntu6.2) ...
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package bacula-director-common.
(Reading database ... 1208745 files and directories currently installed.)
Unpacking bacula-director-common (from 
.../bacula-director-common_5.2.5-0ubuntu6.2_amd64.deb) ...
Selecting previously unselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-common_1.8.47_all.deb) ...
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.616-1build2_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from 
.../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from 
.../mysql-client-core-5.5_5.5.46-0ubuntu0.12.04.2_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from 
.../mysql-client-5.5_5.5.46-0ubuntu0.12.04.2_amd64.deb) ...
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.5.46-0ubuntu0.12.04.2_all.deb) 
...
Selecting previously unselected package bacula-director-mysql.
Unpacking bacula-director-mysql (from 
.../bacula-director-mysql_5.2.5-0ubuntu6.2_amd64.deb) ...
Selecting previously unselected package mtx.
Unpacking mtx (from .../mtx_1.3.12-4ubuntu1_amd64.deb) ...
Selecting previously unselected package bacula-sd.
Unpacking bacula-sd (from .../bacula-sd_5.2.5-0ubuntu6.2_amd64.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from 
.../mysql-server-core-5.5_5.5.46-0ubuntu0.12.04.2_amd64.deb) ...
Selecting previously unselected package mysql-server-5.5.
Unpacking mysql-server-5.5 (from 
.../mysql-server-5.5_5.5.46-0ubuntu0.12.04.2_amd64.deb) ...
Selecting previously unselected package bacula-sd-mysql.
Unpacking bacula-sd-mysql (from .../bacula-sd-mysql_5.2.5-0ubuntu6.2_amd64.deb) 
...
Selecting previously unselected package bacula-server.
Unpacking bacula-server (from .../bacula-server_5.2.5-0ubuntu6.2_all.deb) ...
Selecting previously unselected package bacula-fd.
Unpacking bacula-fd (from .../bacula-fd_5.2.5-0ubuntu6.2_amd64.deb) ...
Selecting previously unselected package bacula-client.
Unpacking bacula-client (from .../bacula-client_5.2.5-0ubuntu6.2_all.deb) ...
Selecting previously unselected package bacula.
Unpacking bacula (from .../bacula_5.2.5-0ubuntu6.2_all.deb) ...
Selecting previously unselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) 
...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.46-0ubuntu0.12.04.2_all.deb) 
...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up bacula-common-mysql (5.2.5-0ubuntu6.2) ...
Setting up bacula-console (5.2.5-0ubuntu6.2) ...
Setting up bacula-director-common (5.2.5-0ubuntu6.2) ...
Setting up dbconfig-common (1.8.47) ...

Creating config file /etc/dbconfig-common/config with new version
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.616-1build2) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-core-5.5 (5.5.46-0ubuntu0.12.04.2) ...
Setting up mysql-client-5.5 (5.5.46-0ubuntu0.12.04.2) ...
Setting up mysql-client (5.5.46-0ubuntu0.12.04.2) ...
Setting up bacula-director-mysql (5.2.5-0ubuntu6.2) ...
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
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: bacula-director-mysql configure: trying again.
dbconfig-common: writing config to 
/etc/dbconfig-common/bacula-director-mysql.conf
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: bacula-director-mysql configure: trying again.
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up mtx (1.3.12-4ubuntu1) ...
Setting up bacula-sd (5.2.5-0ubuntu6.2) ...
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
tr: write error: Broken pipe
tr: write error
cat: write error: Broken pipe
 * Starting Bacula Storage daemon...                                     [ OK ] 
Setting up mysql-server-core-5.5 (5.5.46-0ubuntu0.12.04.2) ...
Setting up mysql-server-5.5 (5.5.46-0ubuntu0.12.04.2) ...
160110 23:33:59 [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.
160110 23:33:59 [Note] /usr/sbin/mysqld (mysqld 5.5.46-0ubuntu0.12.04.2) 
starting as process 24532 ...
mysql start/running, process 24670
Setting up bacula-sd-mysql (5.2.5-0ubuntu6.2) ...
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 5.2.5-0ubuntu6.2) | 
bacula-director; however:
  Package bacula-director-mysql is not configured yet.
  Package bacula-director is not installed.
  Package bacula-director-mysql which provides bacula-director is not 
configured yet.
dpkg: error processing bacula-server (--configure):
 dependency problems - leaving unconfigured
Setting up bacula-fd (5.2.5-0ubuntu6.2) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                           * Starting Bacula File daemon...              [ OK ] 
Setting up bacula-client (5.2.5-0ubuntu6.2) ...
dpkg: dependency problems prevent configuration of bacula:
 bacula depends on bacula-server; however:
  Package bacula-server is not configured yet.
dpkg: error processing bacula (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                          Setting up libhtml-template-perl (2.10-1) ...
Setting up mysql-server (5.5.46-0ubuntu0.12.04.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 bacula-director-mysql
 bacula-server
 bacula
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up bacula-director-mysql (5.2.5-0ubuntu6.2) ...
dbconfig-common: writing config to 
/etc/dbconfig-common/bacula-director-mysql.conf
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
Processing configuration...Ok.
 * Starting Bacula Director...                                           [ OK ] 
Setting up bacula-server (5.2.5-0ubuntu6.2) ...
Setting up bacula (5.2.5-0ubuntu6.2) ...

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: bacula-director-mysql 5.2.5-0ubuntu6.2
ProcVersionSignature: Ubuntu 3.2.0-97.137-generic 3.2.73
Uname: Linux 3.2.0-97-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.13
Architecture: amd64
Date: Sun Jan 10 23:33:50 2016
DuplicateSignature: package:bacula-director-mysql:5.2.5-0ubuntu6.2:subprocess 
installed post-installation script returned error exit status 10
ErrorMessage: subprocess installed post-installation script returned error exit 
status 10
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: bacula
Title: package bacula-director-mysql 5.2.5-0ubuntu6.2 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 10
UpgradeStatus: Upgraded to precise on 2013-01-31 (1073 days ago)

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


** Tags: amd64 apport-package need-duplicate-check precise

-- 
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/1532543

Title:
  package bacula-director-mysql 5.2.5-0ubuntu6.2 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 10   needs  MySQL installed first?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1532543/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to