package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Bug #712291 reported by
Keminda Ruberu
This bug report is a duplicate of:
Bug #321091: Bacula fails to install correctly if mysql wasn't installed before.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: bacula
Pls send
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-
ProcVersionSign
Uname: Linux 2.6.32-28-generic i686
Architecture: i386
Date: Thu Feb 3 10:09:05 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: bacula
Title: package bacula-
To post a comment you must log in.
I've seen bugs like this before. mysql isn't running, but bacula- directory- mysql wsa trying to talk to it:
| Setting up bacula- director- mysql (5.0.1-1ubuntu1) ... dpkg/info/ bacula- director- mysql.templates common/ bacula- director- mysql.conf common/ bacula- director- mysql.conf with new version mysqld/ mysqld. sock' (2). mysqld/ mysqld. sock' (2) director- mysql configure: aborted. director- mysql (--configure):
| debconf: Unknown template field '_description', in stanza #9 of /var/lib/
| 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: flushing administrative password
| dpkg: error processing bacula-
| subprocess installed post-installation script returned error exit status 1
It seems to me that this is actually a bug in the configure script of bacula. It clearly is depending on something being installed, but, per [1]:
Note: Note that the config script is run before the package is unpacked. It
should only use commands that are in essential packages Also, it shouldn't
actually edit files on the system, or affect it in any other way.
I'm not really sure how this can be fixed, though. www.fifi. org/doc/ debconf- doc/tutorial. html
--
[1] http://