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

Bug#686071: tex-common: trigger break debconf when reconfiguring a (external) latex package



Package: tex-common
Version: 3.13
Severity: important

  Hi,

  I'm reporting this bug against tex-common, but perhaps it applies to debconf
itself. Please, reassign if needed.

  I'm hitting this bug when I try to reconfigure latex-make (whole debian/rules
call "dh_installtex" without any argument)

See:
=======
vdanjean@eyak:~$ sudo dpkg-reconfigure latex-make
Traitement des actions différées (« triggers ») pour « tex-common »...
VERSION 2.0
^Cdpkg: erreur de traitement de tex-common (--configure) :
 interruption du sous-processus script post-installation installé
Des erreurs ont été rencontrées pendant l'exécution :
 tex-common
vdanjean@eyak:~$ 
=======
I had to type ^C after "VERSION 2.0" has been printed.
To recover, I run:
=======
njean@eyak:~$ sudo dpkg -a --configure 
Paramétrage de tex-common (3.13) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
	This may take some time... done.
vdanjean@eyak:~$
=======
As this is reproductible, I added "-x" to the bash options of 
/var/lib/dpkg/info/tex-common.postinst
Here is what I see, then:
=======
njean@eyak:~$ sudo dpkg-reconfigure latex-make
Traitement des actions différées (« triggers ») pour « tex-common »...
+ umask 022
+ TEXMFSYSVARDIR=/var/lib/texmf
+ TEXMFTREES=/usr/share/texmf /var/lib/texmf
+ FULLTEXMFTREES=/usr/share/texmf /var/lib/texmf /usr/share/texlive/texmf /usr/share/texlive/texmf-dist
+ action=triggered
+ trigger=texmf-lsr
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ db_version 2.0
+ _db_cmd VERSION 2.0
+ _db_internal_IFS= 	

+ IFS= 
+ printf %s\n VERSION 2.0
VERSION 2.0
+ IFS= 	

+ IFS=
 read -r _db_internal_line
^Cdpkg: erreur de traitement de tex-common (--configure) :
 interruption du sous-processus script post-installation installé
Des erreurs ont été rencontrées pendant l'exécution :
 tex-common
vdanjean@eyak:~$
=======
And then, when recovering:
=======
vdanjean@eyak:~$ sudo dpkg -a --configure
Paramétrage de tex-common (3.13) ...
+ umask 022
+ TEXMFSYSVARDIR=/var/lib/texmf
+ TEXMFTREES=/usr/share/texmf /var/lib/texmf
+ FULLTEXMFTREES=/usr/share/texmf /var/lib/texmf /usr/share/texlive/texmf /usr/share/texlive/texmf-dist
+ action=configure
+ trigger=3.13
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/tex-common.postinst configure 3.13
+ umask 022
+ TEXMFSYSVARDIR=/var/lib/texmf
+ TEXMFTREES=/usr/share/texmf /var/lib/texmf
+ FULLTEXMFTREES=/usr/share/texmf /var/lib/texmf /usr/share/texlive/texmf /usr/share/texlive/texmf-dist
+ action=configure
+ trigger=3.13
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ db_version 2.0
+ _db_cmd VERSION 2.0
+ _db_internal_IFS= 	

+ IFS= 
+ printf %s\n VERSION 2.0
+ IFS= 	

+ IFS=
 read -r _db_internal_line
+ RET=2.0
+ return 0
+ [ -f /etc/texmf/language.dat ]
+ dpkg --compare-versions 3.13 lt 3
+ update-texmf
+ trigger=texmf-lsr texmf-map
+ do_triggers
[...]
=======

  So, it seems something is wrong with debconf redirection ("VERSION 2.0"
should not have been displayed on my terminal). I do not know if the bug comes
from tex-common (bad use of debconf) or from debconf itself (bug when invoked
through trigger)

  Regards,
    Vincent


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386 armel mipsel

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.45
ii  dpkg                   1.16.8
ii  ucf                    3.0025+nmu3

tex-common recommends no packages.

Versions of packages tex-common suggests:
ii  debhelper  9.20120608

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.45
ii  dpkg                   1.16.8
ii  install-info           4.13a.dfsg.1-10
ii  libpaper-utils         1.1.24+nmu2
ii  luatex                 0.70.1.20120524-3
ii  texlive-binaries       2012.20120628-2
ii  texlive-common         2012.20120611-3
ii  texlive-doc-base       2012.20120611-1
ii  ucf                    3.0025+nmu3
ii  xdg-utils              1.1.0~rc1+git20111210-6

Versions of packages texlive-base recommends:
ii  lmodern  2.004.1-5

Versions of packages texlive-base suggests:
ii  acroread [pdf-viewer]            9.5.1-0.1
ii  evince [postscript-viewer]       3.4.0-2+build1
ii  ghostscript [postscript-viewer]  9.05~dfsg-6
ii  gv [postscript-viewer]           1:3.7.3-1
ii  okular [postscript-viewer]       4:4.8.4-2
ii  perl-tk                          1:804.030-1
ii  xpdf [pdf-viewer]                3.03-10

Versions of packages texlive-binaries depends on:
ii  dpkg            1.16.8
ii  ed              1.6-2
ii  install-info    4.13a.dfsg.1-10
ii  libc6           2.13-35
ii  libfontconfig1  2.9.0-7
ii  libfreetype6    2.4.9-1
ii  libgcc1         1:4.7.1-6
ii  libgraphite3    1:2.3.1-0.2
ii  libkpathsea6    2012.20120628-2
ii  libpng12-0      1.2.49-2
ii  libpoppler19    0.18.4-3
ii  libptexenc1     2012.20120628-2
ii  libstdc++6      4.7.1-6
ii  libx11-6        2:1.5.0-1
ii  libxaw7         2:1.0.10-2
ii  libxmu6         2:1.1.1-1
ii  libxpm4         1:3.5.10-1
ii  libxt6          1:1.1.3-1
ii  perl            5.14.2-12
ii  texlive-common  2012.20120611-3
ii  zlib1g          1:1.2.7.dfsg-13

Versions of packages texlive-binaries recommends:
ii  luatex          0.70.1.20120524-3
ii  python          2.7.3-2
ii  ruby            4.9
ii  ruby1.8 [ruby]  1.8.7.358-4
ii  texlive-base    2012.20120611-3
ii  tk8.5 [wish]    8.5.11-2

-- debconf information:
  texlive-base/texconfig_ignorant:
  tex-common/check_texmf_wrong:
  texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
  tex-common/check_texmf_missing:


Reply to: