Re: APT overrules self-compiled packages
On Mon, Aug 12, 2002 at 01:00:55PM -0600, Bob Proulx wrote:
> Simon Law <sfllaw@engmail.uwaterloo.ca> [2002-08-12 14:16:30 -0400]:
> > The canonical way to prevent Debian packages from clobbering
> > your custom-compiled packages a version number of custom-21.1-1. No
> > normal Debian package will ever have a higher number, even when using
> > epochs.
>
> That sentence did not parse for me. But it interested me.
> Could you clarify?
OK. Let's say I have emacs21, which is at version "21.2-1". If I
compile a new version, with some different compilation options, I'm
going to version it "custom-21.2-1". Since "c" is larger than an
number, this will always be higher.
If you want to make sure that epochs don't clobber your
versions, you can version it "9:custom-21.2-1" which makes it unlikely
that the Debian official package will ever have a higher epoch than
yours.
Simon
Reply to: