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

Bug#818372: tex-common: Trigger fails on initial install of tex-common



Hi Wookey,

thanks for that report. Interesting... I tried to reproduce
it without success, but I just called 
	apt-get install texlive-xetex texlive-latex-base texlive-generic-recommended texlive-fonts-recommended lmodern
instead, though (the build-deps of rustc).

> dpkg: error processing package texlive-xetex (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of tipa:
>  tipa depends on tex-common (>= 3); however:
>   Package tex-common is not configured yet.
> 
> dpkg: error processing package tipa (--configure):
>  dependency problems - leaving unconfigured

Do you have the *full* log available by chance?

I might be a race between trigger invocationa dn proper postinst configure
invocation, but I am not sure.

There are two triggers involved:
* texmf-map triggered via the lmodern.postinst via update-texmf-config map
* file trigger on /usr/share/texmf interest by tex-common

Now the only possible szenario I can imagine is:
* two triggers are pending (the above)
* dpkg calls tex-common's postinst with *only* the texmf-map trigger
* and later with the file trigger

I am checking already on all passed in triggers, so it must be
that the posinst is invoked two times for triggers.

I don't have any other explanation.

The solution is unfortunately not nice, because it would create 
another set of mktexlsr calls for *each* trigger of a map/fmt,
which is exactly what I wanted to get rid off when switching
to triggers.

So long blabla cut short - if you have the full log, please send
it to me (output of dpkg/apt is fine).

Thanks


Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


Reply to: