Bug#265247: tetex-bin: package fails to install
Package: tetex-bin
Version: 2.0.2-17
Severity: serious
Attempted to install package:
[nemesis@saturn] ~$ sudo apt-get install tetex-bin
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
tetex-bin
0 packages upgraded, 1 newly installed, 0 to remove and 279 not upgraded.
Need to get 0B/3912kB of archives. After unpacking 8929kB will be used.
Preconfiguring packages ...
Selecting previously deselected package tetex-bin.
(Reading database ... 43658 files and directories currently installed.)
Unpacking tetex-bin (from .../tetex-bin_2.0.2-17_i386.deb) ...
Setting up tetex-bin (2.0.2-17) ...
Regenerating /etc/texmf/texmf.cnf ... done
Regenerating /var/lib/texmf/web2c/fmtutil.cnf ... done
Regenerating /var/lib/texmf/web2c/updmap.cfg ... done
dpkg: error processing tetex-bin (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tetex-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
[nemesis@saturn] ~$
Added line to /var/lib/dpkg/info/tetex-bin.postinst:
set -x
[nemesis@saturn] ~$ sudo dpkg --configure tetex-bin
Setting up tetex-bin (2.0.2-17) ...
<< snip >>
Regenerating /etc/texmf/texmf.cnf ... done
+ db_get tetex-bin/fmtutil
+ echo 'GET tetex-bin/fmtutil'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=true
+ return 0
+ '[' Xtrue = Xtrue ']'
+ dpkg --compare-versions '' lt 1.0.7+20011202-5.1
+ '[' -f /etc/texmf/fmtutil.cnf ']'
+ '[' -f /etc/texmf/fmtutil.cnf ']'
+ '[' -L /var/lib/texmf/web2c/fmtutil.cnf ']'
+ '[' -x /usr/sbin/update-fmtutil ']'
+ /usr/sbin/update-fmtutil -v
Regenerating /var/lib/texmf/web2c/fmtutil.cnf ... done
+ db_get tetex-bin/upd_map
+ echo 'GET tetex-bin/upd_map'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=true
+ return 0
+ '[' Xtrue = Xtrue ']'
+ dpkg --compare-versions '' lt 1.0.7+20021025-7
+ '[' -f /etc/texmf/updmap.cfg ']'
+ '[' -f /etc/texmf/updmap.cfg ']'
+ '[' -L /var/lib/texmf/web2c/updmap.cfg ']'
+ '[' -x /usr/sbin/update-updmap ']'
+ /usr/sbin/update-updmap -v
Regenerating /var/lib/texmf/web2c/updmap.cfg ... done
+ VARFONTSFILE=/etc/texmf/varfontdirs.debian
+ '[' '!' -e /etc/texmf/varfontdirs.debian ']'
++ kpsewhich '--expand-var=$VARTEXFONTS'
+ vardir=/var/cache/fonts
+ dpkg --compare-versions '' lt 1.0.7+20011202-8
+ '[' /var/cache/fonts = /var/cache/fonts ']'
+ '[' -d /var/spool/texmf ']'
+ '[' -n /var/cache/fonts ']'
+ grep -q '^/var/cache/fonts$' /etc/texmf/varfontdirs.debian
+ '[' -f /usr/share/texmf/tex/generic/config/language.dat ']'
+ '[' -n '' ']'
+ unset CUR_LDAT
dpkg: error processing tetex-bin (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tetex-bin
[nemesis@saturn] ~$
-- System Information:
Debian Release: 3.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.23
Locale: LANG=C, LC_CTYPE=C
Versions of packages tetex-bin depends on:
ii debconf 1.4.25 Debian configuration management sy
ii debianutils 1.16.2woody1 Miscellaneous utilities specific t
ii dpkg 1.9.21 Package maintenance system for Deb
ii ed 0.2-19 The classic unix line editor
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.1-4 GCC support library
ii libkpathsea3 2.0.2-16 path search library for teTeX (run
ii libpaper1 1.1.14-0.3 Library for handling paper charact
ii libpng12-0 1.2.5.0-6 PNG library - runtime
ii libstdc++5 1:3.3.4-6 The GNU Standard C++ Library v3
ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r
ii libwww0 5.4.0-9 The W3C WWW library
ii libxaw7 4.3.0.dfsg.1-6 X Athena widget set library
ii mime-support 3.18-1.3 MIME files 'mime.types' & 'mailcap
ii perl 5.8.4-2 Larry Wall's Practical Extraction
ii sed 4.0.9-3 The GNU sed stream editor
ii tetex-base 2.0.2a-2 Basic library files of teTeX
ii ucf 1.06 Update Configuration File: preserv
ii xlibs 4.1.0-16woody1 X Window System client libraries
ii zlib1g 1:1.2.1-5 compression library - runtime
-- debconf information:
* tetex-bin/hyphen:
tetex-bin/oldcfg: true
tetex-bin/upd_map: true
tetex-bin/cnf_name:
tetex-bin/fmtutil: true
* tetex-bin/use_debconf: true
tetex-bin/groupname: users
tetex-bin/userperm: false
tetex-bin/groupperm: true
tetex-bin/lsr-perms: true
Reply to: