Hi there!

Cc:ing all the people involved with this bug (hi, Gregor!).

On Tue, 02 Nov 2010 18:08:13 +0100, Olivier BONHOMME wrote:
> When trying to install the bacula meta-package, the aptitude command raises 
> the following error : 
>
> The following packages have unmet dependencies:
>   bacula-common-sqlite3: Conflicts: bacula-common-mysql but 5.0.2-2 is to be 
> installed.
>   bacula-common-mysql: Conflicts: bacula-common-sqlite3 but 5.0.2-2 is to be 
> installed.
>
> It seems that the conflict is provided by the virtual package bacula-sd-tools 
> (Which is a recommended one) because
> this package tries to install bacula-common-mysql.
>
> If we install bacula without the recommended packages, the installation is 
> possible.

Strange enough, when using the --with-recommends option aptitude should
resolve them as --without-recommends (which works as expected).

> It is not impossible to install bacula with apt-get anymore. The following 
> error is raised : 
>
> The following packages have unmet dependencies:
>  bacula : Depends: bacula-server but it is not going to be installed

If you do not install recommends, it is OK, exactly as with aptitude.

On Thu, 25 Nov 2010 14:35:40 +0100, Hideki Yamane wrote:
>  Clint Byrum <cl...@fewbar.com> wrote:
>> Would it fix the problem if bacula-sd had
>>
>> Recommends: mt-st, bacula-sd-sqlite3 (>= 5.0.2-2) | bacula-sd-tools
>
>  I wrote small patch as below, and works fine with piuparts.

I think that a better (and common with other situations,
i.e. mail-transport-agent) fix is the one suggested by Clint: one single
real package recommended.  This is a maintainer's choice, which as Clint
suggested, it was already made for the bacula-server package, i.e. the
sqlite3 backend.

John, two questions:

- have you any preference on the solution?

- do you mind if Hideki uploads its NMU?  This is a serious bug that
  affects squeeze as well...

> +bacula (5.0.2-2.1) unstable; urgency=low
                                        ^^^
This should be at least medium, given that the bug is severity serious,
but I could not find the documentation about that, sorry:

  Developer's Reference, ยง 5.13.2. Updates from unstable
  
http://www.debian.org/doc/manuals/developers-reference/pkgs.html#testing-unstable

>  Depends: ${shlibs:Depends}, mtx, python, lsb-base (>= 3.2-13), 
> ${misc:Depends}
> -Recommends: mt-st, bacula-sd-tools
> +Recommends: bacula-sd-sqlite3 (= ${binary:Version}) | bacula-sd-mysql (= 
> ${binary:Version}) |
> +            bacula-sd-pgsql (= ${binary:Version}) | bacula-sd-tools, mt-st

What is the reason for a strict versioned Recommends?  The bacula-server
package has it in the form:

  bacula-sd-sqlite3 (>= ${source:Version}) | bacula-sd-tools

John, any comments or suggestions?

Thx, bye,
Gismo / Luca

Attachment: signature.asc
Description: Digital signature

Reply via email to