Re: Versioning question
On 2025-03-14 at 16:40, Preuße, Hilmar wrote:
> Hello,
>
> I have some relationships defined in latest texlive-extra-utils:
>
> Package: texlive-extra-utils
> Replaces: <snip>, texlive-binaries (<= 2024.20240313.70630+ds-5)
> Breaks: <snip>, texlive-binaries (<= 2024.20240313.70630+ds-5)
>
> Nevertheless a test suite fails:
>
> 38s Unpacking texlive-extra-utils (2024.20250309-1) ...
> 39s dpkg: error processing archive
> /tmp/apt-dpkg-install-r5Hx5g/64-texlive-extra-utils_2024.20250309-1_all.deb
> (--unpack):
> 39s trying to overwrite '/usr/share/man/man1/mflua.1.gz', which is
> also in package texlive-binaries (2024.20240313.70630+ds-5+b1)
> I guess 2024.20240313.70630+ds-5+b1 is larger than
> 2024.20240313.70630+ds-5
Yes, it is. You can see this by asking dpkg:
$ dpkg --compare-versions 2024.20240313.70630+ds-5 gt
2024.20240313.70630+ds-5+b1
$ echo $?
1
> and I should rather write
>
> Replaces: <snip>, texlive-binaries (< 2024.20240313.70630+ds-6)
> Breaks: <snip>, texlive-binaries (< 2024.20240313.70630+ds-6)
I'm not enough of an expert to say whether this is what you *should* do,
but at a glance I think it looks like it would *work*.
--
The Wanderer
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw
Reply to: