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

Re: Bug#665479: texlive-binaries: /usr/bin/platex missing which was previously found in ptex-bin



Hi,

Sorry for the long delay... but I would like to fix this problem before
the testing migration.

On Sat, Mar 31, 2012 at 00:51, Norbert Preining <preining@logic.at> wrote:
> On Sa, 31 Mär 2012, Youhei SASAKI wrote:
>> Norbert: Why do you close #665479?
>
> Because ptex-bin only provides the link
>        platex -> ptex
> and not the files, they are in the depending package ptex-base.

"platex" is the most important interface. Most Japanese users probably
use "platex", not "ptex", regardless of whether its implementation is
link or file. However, it is not "provided by" texlive-binaries. It
should be "provided by" texlive-lang-cjk, or by adding a dummy package
ptex-bin which depends on it. This ensures existing rdepends will not be
broken immediately
(for example: #666306 "canna: FTBFS: /bin/sh: 1: platex: not found").

> Now, texlive-lang-cjk provides ptex-base, and the necessary files,
> as it should be.

During upgrade ptex-base will be removed, and then apt does not seem to
select its "provider" texlive-lang-cjk ...

>> Yes, you are rights in order to *use* platex, but may be somthing wrong
>> when upgrade from squeeze to wheezy because both old ptex-bin and
>> texlive-binaries don't depends texlive-lang-cjk.
>
> I don't want this direction. telxive-binaries should not provide
> *anything*, only the raw binaries without any files/formats etc.

To avoid such a new dependency while allowing smooth upgrade, it is
probably necessary to add a transitional package ptex-bin which depends
on texlive-lang-cjk, as Sasaki-san says.

> So we have to find a better solution, I guess the problem is that
> I have to add a *conflicts* texlive-common against ptex-*,
> that should suffice to make apt find the right solution to remove
> ptex* and install telxive-lang-cjk ... I hope ...
> If you have a better solution, let me know.
>
> Maybe:
> texlive-lang-cjk provides/replaces/conflicts: ptex-base, ptex-bin

I locally tested adding conflicts against ptex-* to those packages, but
it still does not make apt pull texlive-lang-cjk.
Instead, adding the dummy package ptex-bin, version 3.2-1, and limiting
version of conflicts against ptex-bin (<< 3.2) to texlive-binaries,
texlive-common and texlive-lang-cjk fixed the problem.

Regards,
-- 
YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>


Reply to: