Re: Bug#231235: arabtex font installation is broken
Florent Rougon <f.rougon@free.fr> wrote:
> Florent Rougon <f.rougon@free.fr> wrote:
>
>> 1. The dependency on tetex-bin should be (>= 2).
>
> Of course, this is because of the new updmap interface... but as I
> mentioned in the "arabtex and tetex 2" subthread and forgot while
> writing the previous message, this will probably break since tetex-bin
> would not want to be upgraded before arabtex because of its Conflicts
> with arabtex (<< earlier-version).
>
Sorry, I spread confusion when writing this paragraph. Unpacking and
configuring order are not necessarily the same. What I wrote in
http://lists.debian.org/debian-tetex-maint/2004/debian-tetex-maint-200402/msg00006.html
was correct. This suggested combination was tested and explained.
I think that the simplest correct thing to do is:
tetex-base -> Conflicts: arabtex (<< 3.10-8)
arabtex -> Depends: tetex-bin (>= 2), tetex-base (>= 2)
[and other dependencies unrelated to the problem at hand, like arabtex
depending on tetex-extra as Frank pointed out, IIRC]
The Conflicts makes arabtex be unpacked before tetex, which avoids the
directory/link clash, and the Depends makes tetex-bin and tetex-base be
configured before arabtex, which allows the recent arabtex to use the
updmap framework in tetex 2 (update-updmap, etc.).
> If the last version of arabtex works with tetex 1 _and_ tetex 2, the
> dependency can be let as "tetex-bin" only, and the upgrade should work.
This would also be correct, but more difficult to achieve.
> Otherwise, you have a problem. This needs work.
Not with the aforementioned proposal. Sorry.
--
Florent
Reply to: