Hi!

On Sun, 2015-04-26 at 14:27:36 -0400, Michael Gilbert wrote:
> Package: dpkg
> Version: 1.17.25
> Severity: wishlist

> I was working on a fix for #783374, which is a problem only when
> udisks2 is installed, and the fix itself requires a newer udisks2.
> 
> I tried fixing gparted by adding a "Recommends: udisks2 (>= 2.1.5-1)"
> to avoid creating a hard dependency on udisks2.  But with that dpkg
> happily installed gparted with udisks2 versions (2.1.3-5) that didn't
> meet the stated version requirement.

The proper way to express this is with Breaks.

> I ended up using the hard dependency as a solution, but it's not ideal
> (adding an unnecessary depends).  It would be preferable for dpkg to
> enforce version requirement in recommends fields.

The semantics of that would be very confusing. And would IMO go
against the Debian policy. This is something for a frontend to
possibly enforce when configured that way. But certainly not for
dpkg. It might also turn current installed dependencies unsatisfiable.

Given that the correct fix here is to use a Breaks, and the above
rationale, I'll be closing this bug report shortly.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to