On 2015-04-02 05:03, Nikolaus Rath wrote:
> I think the way to fix this is to add a Conflicts: (rather than Breaks:
> + Replaces:) on the old version, because the -dbg package does not
> replace the non-dbg package. Right?

No. Replaces is usually used for taking over files from another package,
not for "replacing" some more abstract functionality¹. Versioned
Breaks+Replaces are used for moving files between packages.
(Conflicts+Replaces would work as well, but make the job harder for apt
to find a valid upgrade path). Conflicts without Replaces won't work (in
most cases).

The version should be
  (<< first-version-that-put-the-file-in-the-right-package)


Andreas

¹ unversioned Conflicts+Replaces+Provides are used on virtual packages,
to have a unique provider of some functionality, but that is not what
you need here


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to