Re: Debian versioning question
On 2023-11-10 "Preuße, Hilmar" <hille42@web.de> wrote:
> On 10.11.2023 03:10, Wookey wrote:
>> I think your options are
>> 1) add an epoch (which exists to deal with this sort of problem)
>>
> Well, would like to avoid it, if possible.
I think it is also not the right solutions, epochs are imho intended to
fix one-off errors, but this is problem recurring with every non-major
release.
[...]
>> 3) upload a 'nobbled' version number, which is often done to deal
>> with this sort of temporary issue: 1.3.8a+really1.3.8+dfsg-1
>> dpkg --compare-versions 1.3.8a+dfsg lt 1.3.8a+really1.3.8+dfsg; echo $?
>>
> You mean upload the 1.3.8a as 1.3.8+really1.3.8a, 1.3.8+really1.3.8b,
> 1.3.8+really1.3.8c etc. until we are at 1.3.9 und we can return to normal
> versioning?
>> I'd probably go with option 3 in this case. Ugly but temporary.
>>
> Sounds like an option for now. Thanks!
I think 1.3.8-a+dfsg-1 would work and you could swith to ~dfsg with
1.3.9 like Mattia suggested:
ametzler@argenau:~$ dpkg --compare-versions '1.3.8+dfsg-8' '<<' 1.3.8-a+dfsg-1 && echo yes
yes
ametzler@argenau:~$ dpkg --compare-versions 1.3.8-a+dfsg-2 '<<' 1.3.8-b+dfsg-1 && echo yes
yes
ametzler@argenau:~$ dpkg --compare-versions 1.3.8-b+dfsg-3 '<<' 1.3.9~dfsg-1 && echo yes
yes
ametzler@argenau:~$ dpkg --compare-versions 1.3.9~dfsg-3 '<<' 1.3.9a~dfsg-1 && echo yes
yes
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply to: