Re: TeX packages
Andrew O. Shadoura wrote:
On Fri, 8 Jul 2011 07:41:15 +0900
Norbert Preining <firstname.lastname@example.org> wrote:
On Do, 07 Jul 2011, 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...
Can you provide a log showing what went wrong in your case?
Nothing went wrong, it was just doing mktexlsr/updmap-sys after each
package's removal. And no, I have no log, unfortunately :(
On Do, 07 Jul 2011, Jon Dowland wrote:
I think these processes could be moved over to dpkg triggers, it
just takes someone to do the work.
As Hauke said, updmap and mktexlsr is already handled by triggers.
And all TeX related packages I know of already use dh_installtex
so they should be using trigger, too.
Sometimes we *have* to run these commands out of trigger sequenece
right in the postinst, esp when formats are concerned.
With TL2011 updmap runs will be *MUCH* faster as we switched to
a perl script that runs in a fraction of the time of the old
Well, I think I need to upgrade the packages and to try to reproduce
(i'm not a maintainer)
I have 2 hypothesis.
1) your pkgs aren't yet "interested" or "triggered" during removal
maybe the maintainer maybe didn't code logic for remove action
when action is removal. does pre-rm post an I interest ?
2) they did code it but dpkg-trigger is does not have the same logic for removal
as install, maybe "it's no longer on the system" or "not configured" happened.
(ex, did pre-rm or dpkg do something that made triggers logic remove the
the interest from mktexlsr's I list ?)