bacula-director-mysql 5.0.1-1ubuntu1 fails to install if mysql-server not installed first

Bug #563039 reported by JoeBlack
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Confirmed
Medium
Unassigned
dbconfig-common (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: bacula

failed

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-director-mysql 5.0.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Apr 14 07:31:48 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
SourcePackage: bacula
Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
JoeBlack (jblack44) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

confirmed.
it looks to me to be dbconfig-common related.

Changed in bacula (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in dbconfig-common (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Charles Marslett (charles-marslett) wrote :

Agree with Scott Moser: this looks like it could be related to installing MySQL at the same time as bacula. At least that was what I did, and saw the issue. Check issue #404768 for the same issue fixed around 2009-09-20 (<email address hidden>).

Another bug report mentioned fixing it with a reconfigure:

sudo dpkg-reconfigure bacula-director-mysql

I think that worked but I had to answer 'ignore' to a question I really did not understand.

This bug/feature keeps popping up every release, much like the issues with integrated video on AMD laptops. It may really be a problem with release management, but I don't know how to fix it. Perhaps apt needs a second set of dependencies for the configuration steps at the end of the install so you can configure and start mysql before configuring and starting bacula-director-mysql. It seems that is probably a common requirement.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This one has been around a long time, and doesn't have an easy fix. As a work around, I would suggest that users who are affected install mysql-server *first*, and then bacula-director-mysql if they wish to use mysql locally.

James Page (james-page)
summary: - package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ bacula-director-mysql 5.0.1-1ubuntu1 fails to install if mysql-server
+ not installed first
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.