[Bug 1041829] Re: package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

James Page james.page at ubuntu.com
Thu Aug 30 10:31:16 UTC 2012


creating database backup in /var/cache/dbconfig-common/backups/bacula-director-mysql_5.0.1-1ubuntu1.mysql.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).
unable to connect to mysql server.
error encountered backing up the old database:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
dbconfig-common: bacula-director-mysql configure: retrying.
dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf
creating database backup in /var/cache/dbconfig-common/backups/bacula-director-mysql_5.0.1-1ubuntu1.mysql.
applying upgrade sql for 5.0.1-1ubuntu1 -> 5.2.5-0ubuntu6.1.
dbconfig-common: flushing administrative password
applying upgrade sql for 5.0.1-1ubuntu1 -> 5.2.5-0ubuntu6.1.
error encountered processing /usr/share/dbconfig-common/data/bacula-director-mysql/upgrade/mysql/5.2.5-0ubuntu6.1:
mysql said: ERROR 1050 (42S01) at line 3: Table 'RestoreObject' already exists
dbconfig-common: bacula-director-mysql configure: trying again.
dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf
Replacing config file /etc/dbconfig-common/bacula-director-mysql.conf with new version
creating database backup in /var/cache/dbconfig-common/backups/bacula-director-mysql_5.0.1-1ubuntu1.mysql.
applying upgrade sql for 5.0.1-1ubuntu1 -> 5.2.5-0ubuntu6.1.
error encountered processing /usr/share/dbconfig-common/data/bacula-director-mysql/upgrade/mysql/5.2.5-0ubuntu6.1:
mysql said: ERROR 1050 (42S01) at line 3: Table 'RestoreObject' already exists
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
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 5.2.5-0ubuntu6.1) | 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 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 bacula (--configure):
 dependency problems - leaving unconfigured

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in Ubuntu.
https://bugs.launchpad.net/bugs/1041829

Title:
  package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1041829/+subscriptions



More information about the Ubuntu-server-bugs mailing list