bacula dependency on bacula-server fails with held broken packages

Bug #1034962 reported by Douglas Russell
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
James Page
Precise
Fix Released
High
James Page
Quantal
Fix Released
High
Unassigned

Bug Description

[IMPACT]
Bacula is not installable using the 'bacula' metapackage by itself.

[TEST CASE]
sudo apt-get install bacula

Results in:
bacula : Depends: bacula-server but it is not going to be installed

[REGRESSION POTENTIAL]
Minimal - the fix is only in the package control file and ensures that the bacula-sd-mysql package is preferred over any other Provider of bacula-sd-tools.

[ORIGINAL BUG REPORT]
I installed a brand new ubuntu 12.04 server, did update and dist-upgrade.

Now when I try and install bacula, I get the below message.

dpwrussell@bacula-master:~$ sudo apt-get install bacula
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 bacula : Depends: bacula-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Douglas Russell (dpwrussell) wrote :

Oh, and this happens on my workstation as well, so it doesn't seem to be an isolated case.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bacula (Ubuntu):
status: New → Confirmed
Revision history for this message
Pedro Romano (paparomeo) wrote :

I was able to reproduce the reported behaviour on an update clean install of Precise.

Revision history for this message
Paul Pace (myfirstnameispaul) wrote :

I have the same problem. I thought upgrading to 12.04 would, you know, be an 'upgrade' form 10.04. I thought after all these years maybe Ubuntu developers have gotten out of the habit of breaking computers on upgrade. I was mistaken. I guess it's back to 10.04 for a few more years as Bacula is the most important task my Ubuntu box runs.

Revision history for this message
Douglas Russell (dpwrussell) wrote :

It's not really that serious a problem given that you can just install the bits you actually need.

sudo apt-get install bacula-server bacula-console

was all I needed for my purposes.

Revision history for this message
Pedro Romano (paparomeo) wrote :

Yes it can be worked around by installing the required 'bacula-*' packages. The problem is only with the 'bacula' meta-package. The bacula installation by installing the specific 'bacula-*' packages is fully functional in 12.04.

Revision history for this message
James Page (james-page) wrote :

I think this is something todo with the fact that there is a SRU update of bacula in updates (xxx6.1) which is confusing apt when you try to install the meta-package as it does not have a versioned dependency on bacula-server.

I think this should actually work - asking people more knowledgeable than myself in #irc

James Page (james-page)
Changed in bacula (Ubuntu):
importance: Undecided → High
Changed in bacula (Ubuntu Precise):
status: New → Confirmed
importance: Undecided → High
James Page (james-page)
Changed in bacula (Ubuntu Oneiric):
status: New → Confirmed
importance: Undecided → High
Changed in bacula (Ubuntu Precise):
milestone: none → precise-updates
Revision history for this message
James Page (james-page) wrote :

This issue is caused by:

Recommends: bacula-sd-tools

in the bacula-sd package; from 11.10 onwards the resolver manages to pick bacula-sd-sqllite3 which then conflicts with the mysql version.

This has been fixed in quantal by preferring the bacula-sd-mysql package in this dependency statement.

Changed in bacula (Ubuntu Quantal):
status: Confirmed → Fix Released
Changed in bacula (Ubuntu Oneiric):
milestone: none → oneiric-updates
James Page (james-page)
Changed in bacula (Ubuntu Precise):
assignee: nobody → James Page (james-page)
Changed in bacula (Ubuntu Oneiric):
assignee: nobody → James Page (james-page)
status: Confirmed → In Progress
Changed in bacula (Ubuntu Precise):
status: Confirmed → In Progress
description: updated
description: updated
Revision history for this message
James Page (james-page) wrote :

Fix uploaded to -proposed for oneiric and precise for SRU team review.

Revision history for this message
Scott Kitterman (kitterman) wrote : Please test proposed package

Hello Douglas, or anyone else affected,

Accepted into precise-proposed. The package will build now and be available in a few hours in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in bacula (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Douglas, or anyone else affected,

Accepted bacula into oneiric-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/bacula/5.0.3-1ubuntu5.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in bacula (Ubuntu Oneiric):
status: In Progress → Fix Committed
tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bacula - 5.2.5-0ubuntu6.2

---------------
bacula (5.2.5-0ubuntu6.2) precise-proposed; urgency=low

  * Make the bacula package installable (LP: #1034962):
    - d/control: bacula-sd - Recommend bacula-sd-mysql | bacula-sd-tools to
      ensure that a conflict is not generated during dependency resolution
      between the mysql and sqlite3 versions of bacula-sd.
 -- James Page <email address hidden> Thu, 30 Aug 2012 16:22:27 +0100

Changed in bacula (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bacula - 5.0.3-1ubuntu5.1

---------------
bacula (5.0.3-1ubuntu5.1) oneiric-proposed; urgency=low

  * Make the bacula package installable (LP: #1034962):
    - d/control: bacula-sd - Recommend bacula-sd-mysql | bacula-sd-tools to
      ensure that a conflict is not generated during package dependency
      resolution between the mysql and sqlite3 versions of bacula-sd.
 -- James Page <email address hidden> Thu, 30 Aug 2012 16:24:41 +0100

Changed in bacula (Ubuntu Oneiric):
status: Fix Committed → Fix Released
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.