[Bug 712291] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
*** 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 -- 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/712291 Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: 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/712291/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712291] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
*** This bug is a duplicate of bug 563039 *** https://bugs.launchpad.net/bugs/563039 ** This bug has been marked a duplicate of bug 563039 package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- 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/712291 Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: 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/712291/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712291] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I've seen bugs like this before. mysql isn't running, but bacula- directory-mysql wsa trying to talk to it: | Setting up bacula-director-mysql (5.0.1-1ubuntu1) ... | debconf: Unknown template field '_description', in stanza #9 of /var/lib/dpkg/info/bacula-director-mysql.templates | dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf | Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). | unable to connect to mysql server. | error encountered creating user: | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) | 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 It seems to me that this is actually a bug in the configure script of bacula. It clearly is depending on something being installed, but, per [1]: Note: Note that the config script is run before the package is unpacked. It should only use commands that are in essential packages Also, it shouldn't actually edit files on the system, or affect it in any other way. I'm not really sure how this can be fixed, though. -- [1] http://www.fifi.org/doc/debconf-doc/tutorial.html ** Changed in: bacula (Ubuntu) Importance: Undecided = Medium ** Changed in: bacula (Ubuntu) Status: New = Triaged -- 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/712291 Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712291] Re: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
-- 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/712291 Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs