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

Re: Help with configuration order



Norbert Preining <preining@logic.at> wrote:

> $ aptitude remove texlive-base
>
> remove all packages, also the libraries (were marked as automatic by
> aptitude)
>
> At this moment /etc/texmf/fmt.d/10texlive-base-bin.cnf is still
> installed (config file and removed not purged), but the list file is
> missing.
>
> $ aptitude install texinfo texlive-base
>
> Now the fun begins:
> . all the packages are unpacked
>   also the list file in /var/lib/tex-common/... is installed (it is
>   *not* a config file, so it is immediately present!)

Just to remind me: Why does cyrtexinfo need this magic comment trick at
all?  Usually fmtutil just skipt formats for which there is an entry in
fmtutil.cnf, but no ini file.

> . due to aptitudes internals *first* texinfo is configured
>   - texinfo.postinst calls update-fmtutil which does include the lines
>     for mf etc into the fmtutil.cnf file (the list file for
>     texlive-base-bin is already in place!)
>   - texinfo.postinst calls fmtutil-sys --missing
>     fmtutil-sys tries to create mf.base, but breaks because the libs (!)
>     are not configured already (cannot load lib blabla)
[...]
> I tried the same with tetex, but it doesn't work. It is always that
> first tetex-bin is configured (and prior to this the libs), and then
> texinfo, so no problem here.

So there seem to be somewhat different dependencies...

> THere are several ideas for solving this problem:
> . ignore, the basic lib (libx11 or jpeg) is normally installed. if one
>   installs texinfo, then they will be there anyway

Furthermore, it only happens if 50cyrtexinfo.cnf is changed (the comment
sign is removed), and thus only affects systems where texinfo once was
already installed and configured.  

An other option would be to make mf-nowin the normal mf executable; err,
no - why is this binary linked against all those libraries?  libX11,
libXrender for sure seem unnecessary; I have no idea what libpng12,
libjpeg are good for in metafont (but then I never use metafont myself,
it just creates fonts automatically)

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer



Reply to: