[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: package locally compiled gets "upgraded"



On Wed,03.Jun.09, 01:25:19, Matus UHLAR - fantomas wrote:
> On 02.06.09 14:29, Boyd Stephen Smith Jr. wrote:
> > In <[🔎] 20090602185609.GA26122@fantomas.sk>, Matus UHLAR - fantomas wrote:
> > >is 1.2.3lenny1 more than 1.2.3local1? I would want that to get upgraded...
> > 
> > No.  1.2.3lenny1 < 1.2.3local1 because "lenny" < "local" because 'e' < 'o'.
> 
> so iif I name it 'local0' and 'lenny1' comes out, it won't be installed
> because the version number is smaller.

I think the correct way is to *append* to the version, not munge it:

1.2.3lenny1+local1 (I like to use + as separator)

That way 1.2.3lenny2 will be higher than my version. Check out 'dch', 
especially the '--local' option.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: