Re: Bug#231235: arabtex font installation is broken
Hilmar Preusse <hille42@web.de> wrote:
> Hmm. I don't understand to less about dpkg. What will happen if
> anybody tries to upgrade tetex-bin. Will tetex-bin not just remove
> arabtex and try to upgrade it?
Yes, if tetex-bin Conflicts: with arabtex (<< version) (which, as
pointed out by Frank, was a mistake).
If tetex-base Conflicts: with arabtex (<< 3.10-8), which I believe is
correct, upgrading tetex-base will force apt to unpack an arabtex
that is >= 3.10-8 first, which is exactly what we want.
Then, the (partial, don't forget tetex-extra!):
Depends: tetex-bin (>=2), tetex-base (>= 2)
of the new arabtex package will cause tetex-bin (>=2), tetex-base (>= 2)
to be configured before the new arabtex is configured, ensuring that
updmap & Co are available and functional.
> What does mean "tetex is upgraded"? tetex-bin, tetex-base? tetex-base
> will conflict with arabtex. The dependence of tetex-bin to
> tetex-base is not tight enough to pull in a recent tetex-base.
> You mean we have 2 possibilities:
> 1. keep that Conflicts field in tetex-bin
Ugh, in tetex-base, not tetex-bin!
> 2. tighten the dependencies of tetex-bin and tetex-base to make sure
> tetex-bin pulls in the to be uploaded tetex-base?
I am not qualified to discuss the interdependencies of tetex-bin and
tetex-base. Only to say that if arabtex needs tetex-base (>= 2)
configured before it can be itself configured, then it needs to depend
on tetex-base (>= 2).
--
Florent
Reply to: