[I'm subscribed to debian-java] Am 02.02.2016 um 13:15 schrieb Felix Natter: > Markus Koschany <a...@debian.org> writes: > >> Am 01.02.2016 um 21:42 schrieb Felix Natter: >> [...] >>> --> I need to plan to drop libjortho-freeplane-java. >>> >>> Do I need a Replaces: for freeplane-1.3's libjortho-freeplane-java >>> in the freeplane-1.5 package? >> >> Nope. You only need Breaks and Replaces if freeplane 1.5 provides the >> identical artifact _and_ you intend to ship libjortho-freeplane-java >> with this version. But if you drop libjortho-freeplane-java and >> freeplane simply inherits the jortho artifact you don't need to add the >> Breaks and Replaces relation here. > > And how can I make sure that libjortho-freeplane-java is removed when > freeplane-1.5.x is installed?
My fault, you will need Replaces, Breaks, Conflicts. Just removing the binary package from Debian control won't make sure that libjortho-freeplane-javais removed on upgrade. So just add this to your freeplane binary package: Provides: libjortho-freeplane-java Conflicts: libjortho-freeplane-java Replaces: libjortho-freeplane-java Markus
signature.asc
Description: OpenPGP digital signature