On Sun, Mar 10, 2024 at 04:25:16PM +0100, Tobias Frost wrote:

Maybe this needs a bit more expansion:

> Having two sources of packages is bad too, I'd suggest to stop
> distribution your own packages, at least make sure not to use the same
> exact same version/revision, so that there will be clear from looking on
> the version only that this was from your archives. Otherwise, I'll
> envise chaos. Make sure that the version in your archives sort earlier
> than the one in Debian's as this sould be the canonical source of the
> Debian packages. Such a versioning scheme is also used for backports,
> you can look there how it is done.

If you ship packages yourself, you should ensure that if people
installing from Debian archives they will get the Debian package not
yours, at least if the version in the Debian archive is not of an older
version.

This is similar to the procedure when doing a backport, the backport
version is always "older" than then the version in testing, so that when
testing becomes stable the proper package from now-stable is installed,
updating the backports package.

An easy way is to append "~" to your upstream package's revision, as
this will always sort earlier, eg. "7.20-3~"

-- 
tobi

Reply via email to