package bacula-director-mysql 5.0.2-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bacula
Failed on Bakula install configuration on 10.10 (already installed, from beta media) from Synaptic. Synaptic simply stated that an error had occurred, and stopped there, waiting for me to stop the install. Install was with a bunch of other stuff, so perhaps something caused a conflict there.
ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: bacula-
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Wed Oct 13 20:52:29 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
SourcePackage: bacula
Title: package bacula-
Error from message log:
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)
Bacula fails to configure as MySQL is not running during the configuration step; this can be worked around by upgrading/ installing mysql-server before bacula.