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
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) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bacula
failed to install via synaptic
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-
ProcVersionSign
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-
To post a comment you must log in.
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,