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?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Preconfiguring packages ...
Selecting previously unselected package bacula-common.
(Reading database ... 1208575 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-
Adding user 'bacula'... Ok.
Selecting previously unselected package bacula-
Unpacking bacula-common-mysql (from .../bacula-
Selecting previously unselected package bacula-console.
Unpacking bacula-console (from .../bacula-
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-
(Reading database ... 1208745 files and directories currently installed.)
Unpacking bacula-
Selecting previously unselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-
Selecting previously unselected package mysql-client-
Unpacking mysql-client-
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-
Selecting previously unselected package bacula-
Unpacking bacula-
Selecting previously unselected package mtx.
Unpacking mtx (from .../mtx_
Selecting previously unselected package bacula-sd.
Unpacking bacula-sd (from .../bacula-
Selecting previously unselected package mysql-server-
Unpacking mysql-server-
Selecting previously unselected package mysql-server-5.5.
Unpacking mysql-server-5.5 (from .../mysql-
Selecting previously unselected package bacula-sd-mysql.
Unpacking bacula-sd-mysql (from .../bacula-
Selecting previously unselected package bacula-server.
Unpacking bacula-server (from .../bacula-
Selecting previously unselected package bacula-fd.
Unpacking bacula-fd (from .../bacula-
Selecting previously unselected package bacula-client.
Unpacking bacula-client (from .../bacula-
Selecting previously unselected package bacula.
Unpacking bacula (from .../bacula_
Selecting previously unselected package libhtml-
Unpacking libhtml-
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-
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-
Setting up dbconfig-common (1.8.47) ...
Creating config file /etc/dbconfig-
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-
Setting up mysql-client-5.5 (5.5.46-
Setting up mysql-client (5.5.46-
Setting up bacula-
dbconfig-common: writing config to /etc/dbconfig-
Creating config file /etc/dbconfig-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: bacula-
dbconfig-common: writing config to /etc/dbconfig-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: bacula-
dpkg: error processing bacula-
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-
Setting up mysql-server-5.5 (5.5.46-
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-
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-
Package bacula-
Package bacula-director is not installed.
Package bacula-
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.
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 mysql-server (5.5.46-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
bacula-
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-
dbconfig-common: writing config to /etc/dbconfig-
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-
ProcVersionSign
Uname: Linux 3.2.0-97-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.13
Architecture: amd64
Date: Sun Jan 10 23:33:50 2016
DuplicateSignature: package:
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-
UpgradeStatus: Upgraded to precise on 2013-01-31 (1073 days ago)
tags: | removed: need-duplicate-check |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.
If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community
Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.