Auteur: Christoph Lechleitner Datum: Aan: dng Onderwerp: Re: [Dng] package suffix Re: Just call Jessie Jessie
Am 2014-12-16 um 15:40 schrieb Adam Borowski: > On Tue, Dec 16, 2014 at 02:14:42PM +0100, Christoph Lechleitner wrote:
>> For example Debian's
>> cups-daemon 1.7.5-4
>> once freed from the libsystemd0 dependency, would become
>> cups-daemon 1.7.5-4-0devuan0
>
> It's a bad idea to use -, because after a NMU in Debian you'll have
> 1.7.5-4.1, and 1.7.5-4.1-0devuan0 sorts lower than 1.7.5-4-0devuan0.
> You want + instead (1.7.5-4+0devuan0);
But shouldn't the distro pinning overrule the higher version?
> prefixing it with 0 is pointless as well [...]
> You can test this with dpkg --compare-versions.
Thanks for those lessons. I never researched it that detailed, saw
-0foo0 somewhere ages ago.