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

Re: TeX packages

Jan Hauke Rahm wrote:
On Thu, Jul 07, 2011 at 01:26:29PM +0100, Jon Dowland wrote:
On Thu, Jul 07, 2011 at 11:53:17AM +0300, Andrew O. Shadoura wrote:
Is it possible to run mktexlsr and updmap-sys (and, possibly, other
TeX things) just once when installing or removing packages which need
to run them in postinst/postrm? I've been trying to remove some
not-really-needed latex-cjk-* packages to minimize my old
laptop's system installed size, and the removal process appeared to run
for ages...
I think these processes could be moved over to dpkg triggers, it just takes
someone to do the work.

I think, whatever can be covered by triggers, already is. tex-common has
trigger support for some time now.


I'm not a maintainer but I'd say this.

1) you may do as you said by hand the installer won't mind

2) you could adjust the scripts to check for file existence / newer - the pkg install scripts often have such checks - you can adjust them and it should work fine

3) you could mark effected packages Pre-Depends. however I think your saying each pkg is marked to auto-update (for q/a reasons). it is simply not list aware, there currently isn't a callback to rely on (other than a sleeper that waits for completion conditions). I'm unsure if Pre-Depends is always last on remove / fifo filo I mean.

Hope I helped,  John

Reply to: