Bug#396835: tetex-bin postinst take unlimited amount of time and ram (kpsewhich took 600M and 14h)
Hi Marcin,
thinking about it, I have one more question:
Marcin Juszkiewicz <debbugs@hrw.one.pl> wrote:
> 12:29 root@work:hrw# time LC_ALL=C apt-get install tetex-extra
[...]
> Setting up tetex-base (3.0.dfsg.3-1) ...
> done
>
> Creating config file /etc/texdoctk/texdocrc with new version
>
> [1]+ Stopped LC_ALL=C apt-get install tetex-extra
>
> real 22m59.381s
> user 0m0.000s
> sys 0m0.001s
> 12:52 root@work:hrw#
Are you sure that this is the only output? There's no indication in it
that it has started to configure tetex-bin yet. However, in the ps output:
> ps afx output taken when it was not stopped (cut to related things):
>
> 13780 ? Ss 0:01 kdeinit Running...
> 13836 ? S 3:46 \_ konsole [kdeinit]
> 13838 pts/1 Ss 0:00 | \_ /bin/bash
> 30006 pts/11 S 0:00 | | \_ bash
> 11472 pts/11 S+ 0:00 | | \_ apt-get install tetex-extra
> 12062 pts/11 S+ 0:00 | | \_ /usr/bin/dpkg --status-fd 18 --configure tetex-base tetex-bin tetex-extra
> 12063 pts/11 S+ 0:00 | | \_ /bin/sh -e /var/lib/dpkg/info/tetex-base.postinst configure
> 13337 pts/11 R+ 7:06 | | \_ kpsewhich --format=web2c files fmtutil.cnf
>
> 30027 pts/11 S 0:00 /bin/sh -e /var/lib/dpkg/info/tetex-bin.postinst configure
> 30211 pts/11 S 0:00 \_ /bin/sh /usr/bin/fmtutil --all
> 6929 pts/11 S 0:00 \_ /bin/sh /usr/bin/fmtutil --all
> 6930 pts/11 S 0:00 \_ /bin/sh /usr/bin/fmtutil --all
> 6931 pts/11 R 11:09 \_ kpsewhich --var-value=TEXMFMAIN
tetex-bin's postinst script is already being run. Does anybody know
whether it is expected that a maintainer script does not look like being
a child of "apt-get", as is the case here for tetex-bin?
And what happens if you enter those commands on the command line:
kpsewhich --format='web2c files' fmtutil.cnf
kpsewhich --var-value=TEXMFMAIN
TIA, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: