package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #726502 reported by David Aitcheson - KB3EFS
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: bacula

failed to install via synaptic

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-director-mysql (not installed)
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic i686
Architecture: i386
Date: Sat Feb 26 00:52:48 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: bacula
Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
David Aitcheson - KB3EFS (kb3efs) wrote :
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi David,

Thank you for reporting bugs and trying to make Ubuntu better.

Now, for what I can see in DpkgTerminalLog, the issue appears to be with MySQL. The log shows the following:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).
unable to connect to mysql server.

Which leads me to believe that you don't have MySQL installed, it has not started, or simply you input the incorrect password when requested. Could you please confirm that:

 - MySQL has been installed.
 - MySQL is running and password has been set correctly and you can log into the database with it.
 - That you Input the correct password for bacula. To retry I believe that the following command should work:

    sudo dpkg --configure -a

You could also provide an step-by-step to be able to reproduce this issue correctly if possible.

I'm marking this bug as Incomplete until more information is provided.

Best Regards,

Changed in bacula (Ubuntu):
status: New → Incomplete
Revision history for this message
David Aitcheson - KB3EFS (kb3efs) wrote : Re: [Bug 726502] Re: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I have given up on bacula and am not using it.

On 02/10/12 09:56, Scott Moser wrote:
> *** This bug is a duplicate of bug 321091 ***
> https://bugs.launchpad.net/bugs/321091
>
> ** This bug is no longer a duplicate of bug 563039
> bacula-director-mysql 5.0.1-1ubuntu1 fails to install if mysql-server not installed first
> ** This bug has been marked a duplicate of bug 321091
> Bacula fails to install correctly if mysql wasn't installed before
>

--
David A Aitcheson
<email address hidden>

Go Green! Print this email only when necessary.

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.