:: Re: [Dng] package suffix Re: Just …
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam Borowski
Date:  
À: dng
Sujet: Re: [Dng] package suffix Re: Just call Jessie Jessie
On Tue, Dec 16, 2014 at 02:14:42PM +0100, Christoph Lechleitner wrote:
> There is also no technical necessity to change the version, but a
> version postfix is common, easy, painless, and shows right away if an
> installed package is Devuan-ized or not.
>
> 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); prefixing it with 0 is pointless
as well, so let's go with 1.7.5-4-devuan0.

You can test this with dpkg --compare-versions.

Another problem with - is that you can't use it for Debian-native packages.

--
// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets. Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable and Non-Discriminatory prices.