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

Bug #1542729 reported by Álvaro Godolfim
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After uninstall, received the message... I had purge all bacula's installation. Some script or configuration remains... Any light?

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: bacula-director-mysql (not installed)
ProcVersionSignature: Ubuntu 4.2.0-27.32-lowlatency 4.2.8-ckt1
Uname: Linux 4.2.0-27-lowlatency x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Sat Feb 6 17:44:40 2016
DuplicateSignature: package:bacula-director-mysql:(not installed):subprocess installed post-installation script returned error exit status 10
ErrorMessage: subprocess installed post-installation script returned error exit status 10
InstallationDate: Installed on 2016-02-04 (1 days ago)
InstallationMedia: Ubuntu-Studio 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
RelatedPackageVersions:
 dpkg 1.18.2ubuntu5.1
 apt 1.0.10.2ubuntu1
SourcePackage: bacula
Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
UpgradeStatus: Upgraded to wily on 2016-02-05 (1 days ago)

Revision history for this message
Álvaro Godolfim (alvaro-godolfim) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
dbconfig-common: bacula-director-mysql configure: trying again.
Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, <GEN7> line 170.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN7> line 170.
dpkg: error processing package bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 5.2.6+dfsg-9.1ubuntu4) | bacula-director; however:
  Package bacula-director-mysql is not configured yet.
  Package bacula-director is not installed.
  Package bacula-director-mysql which provides bacula-director is not configured yet.

dpkg: error processing package bacula-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bacula:
 bacula depends on bacula-server; however:
  Package bacula-server is not configured yet.

dpkg: error processing package bacula (--configure):
 dependency problems - leaving unconfigured

Revision history for this message
Joshua Powers (powersj) wrote :

It appears that while mysql was trying to configure it ran into issues, which cascaded down to bacula, preventing it from installing. If you were to fix the issues with mysql, possible wrong password, it should fix things up.

Since there isn't enough information in your report to differentiate between a local configuration problem and a bug in Ubuntu, I'm marking this bug as Incomplete. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Changed in bacula (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for bacula (Ubuntu) because there has been no activity for 60 days.]

Changed in bacula (Ubuntu):
status: Incomplete → Expired
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.