bacula-common-mysql uninstallable due to conflicting files

Bug #897303 reported by Clint Byrum
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Fix Released
High
Scott Moser

Bug Description

debconf: Unknown template field '_description', in stanza #9 of /tmp/bacula-director-mysql.template.319468

(Reading database ... 14901 files and directories currently installed.)
Unpacking bacula-common-mysql (from .../bacula-common-mysql_5.2.1-0ubuntu2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/bacula-common-mysql_5.2.1-0ubuntu2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/bacula/libbaccats.la', which is also in package bacula-common 5.2.1-0ubuntu2
Errors were encountered while processing:
 /var/cache/apt/archives/bacula-common-mysql_5.2.1-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Related branches

Changed in bacula (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Yup, the line:

debian/tmp-install-mysql/usr/lib/bacula/libbaccats* usr/lib/bacula

is in both debian/bacula-common.install and debian/bacula-common-mysql.install.
It should be removed from debian/bacula-common-mysql.install. (As bacula is
in main this should presumably wait until after soft freeze.)

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 897303] Re: bacula-common-mysql uninstallable due to conflicting files

Excerpts from Serge Hallyn's message of Wed Nov 30 22:34:16 UTC 2011:
> Yup, the line:
>
> debian/tmp-install-mysql/usr/lib/bacula/libbaccats* usr/lib/bacula
>
> is in both debian/bacula-common.install and debian/bacula-common-mysql.install.
> It should be removed from debian/bacula-common-mysql.install. (As bacula is
> in main this should presumably wait until after soft freeze.)
>

I actually just tried that last night, and this produced a "dummy" libaccats that
was unusable by any of the directors. In an offline conversation with zulcss, it
sounded like there may be a bug in 5.2.1 and a fix in 5.2.2.

> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/897303
>
> Title:
> bacula-common-mysql uninstallable due to conflicting files
>
> Status in “bacula” package in Ubuntu:
> Confirmed
>
> Bug description:
> debconf: Unknown template field '_description', in stanza #9 of /tmp
> /bacula-director-mysql.template.319468
>
> (Reading database ... 14901 files and directories currently installed.)
> Unpacking bacula-common-mysql (from .../bacula-common-mysql_5.2.1-0ubuntu2_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/bacula-common-mysql_5.2.1-0ubuntu2_amd64.deb (--unpack):
> trying to overwrite '/usr/lib/bacula/libbaccats.la', which is also in package bacula-common 5.2.1-0ubuntu2
> Errors were encountered while processing:
> /var/cache/apt/archives/bacula-common-mysql_5.2.1-0ubuntu2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/897303/+subscriptions

Scott Moser (smoser)
Changed in bacula (Ubuntu):
assignee: nobody → Scott Moser (smoser)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bacula - 5.2.3-0ubuntu3

---------------
bacula (5.2.3-0ubuntu3) precise; urgency=low

  * remove libbaccats* from bacula-common, which fixes
    a depends-but-conflicts between bacula-common and
    bacula-{mysql,pgsql,sqlite3} (LP: #897303)
 -- Scott Moser <email address hidden> Wed, 08 Feb 2012 14:33:34 -0500

Changed in bacula (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

I've just uploaded a fix for this.
I've verified installation of the packages, but kept the version at 5.2.3.

I'd very much appreciate someone testing that the packages work (I have no real experience with bacula).

If someone would like to request or tackle the merge to upstream 5.2.5, then please open a bug (note, a local 'bzr merge-upstream' seemed to go OK).

Revision history for this message
Sandy Mackenzie (sandy) wrote :

The latest package installed
When attempting to start the bacula-director the following error is logged, and the service does not start.

08-Feb 18:59 bacula-dir JobId 0: Fatal error: Please replace this dummy libbaccats library with a proper one.
08-Feb 18:59 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database ";".
08-Feb 18:59 bacula-dir ERROR TERMINATION

Revision history for this message
Scott Moser (smoser) wrote :

Sandy,
  Thank you for the report. I opened bug 929523 to track your issue in comment 5.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.