package bacula-director-mysql 5.0.3-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #822573 reported by kogorman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
New
Medium
Unassigned

Bug Description

Description: Ubuntu 11.04
Release: 11.04

bacula:
  Installed: (none)
  Candidate: 5.0.3-0ubuntu2
  Version table:
     5.0.3-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: bacula-director-mysql 5.0.3-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic i686
Architecture: i386
Date: Sun Aug 7 14:26:33 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: bacula
Title: package bacula-director-mysql 5.0.3-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
kogorman (keith-ogorman) wrote :
Revision history for this message
Ursula Junque (ursinha) wrote :

From log:

Setting up bacula-director-mysql (5.0.3-0ubuntu2) ...
debconf: Unknown template field '_description', in stanza #9 of /var/lib/dpkg/info/bacula-director-mysql.templates
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 20.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 28.
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: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 1

Revision history for this message
Dave Walker (davewalker) wrote :

Needs to be reproduced.

Thanks.

Changed in bacula (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.