Bug#262053: tetex-bin: Local hyphenation configuration not preserved on reconfigure/reinstall
Package: tetex-bin
Version: 2.0.2-16
Severity: important
Dear Debian TeTeX Developers,
The local hyphenation configuration does not seem to be preserved when
reconfiguring/reinstalling the tetex-bin package (using debconf).
.- Behaviour:
1.- The (default?) hyphenation patterns are: american, french,
german, ngerman, spanish, nohyphenation
=====
$ grep -v ^% /etc/texmf/language.dat
american ushyph1.tex
=USenglish
=english
french frhyph.tex
german dehypht.tex
ngerman dehyphn.tex
spanish sphyph.tex
nohyphenation zerohyph.tex
======
2.- I reconfigure the package
$ sudo dpkg-reconfigure tetex-bin
I answer YES to "Manage language.dat with debconf?"
The selected languages are:
french, german, ngerman, spanish
3.- I unselect french,german, and select catalan. The selected list is now:
catalan, ngerman, spanish
4.- After the reconfiguration /etc/texmf/language.dat reads (correctly):
======
$ grep -v ^% /etc/texmf/language.dat
american ushyph1.tex
=USenglish
=english
ngerman dehyphn.tex
catalan cahyph.tex
spanish sphyph.tex
nohyphenation zerohyph.tex
========
5a.- If I now try to reconfigure again the package,
$ sudo dpkg-reconfigure tetex-bin
the list of selected languages reads: french, german, ngerman, spanish
and I have to reselect the languages as in point 3 above.
5b.- If (instead of point 5a), I reinstall the tetex-bin package:
$ sudo aptitude reinstall tetex-bin
the hyphenation patterns are resetted to the ones in point 2.- above:
$ latex kaution
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./kaution.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, s
panish, nohyphenation, loaded.
[...]
=========
$ grep -v ^% /etc/texmf/language.dat
american ushyph1.tex
=USenglish
=english
french frhyph.tex
german dehypht.tex
ngerman dehyphn.tex
spanish sphyph.tex
nohyphenation zerohyph.tex
==========
Expected behaviour:
5a.- The list of selected languages in the debconf list should be the
ones in point 3: catalan, ngerman, spanish
5b.- The reinstallation should not reset the values of the languages.
After reinstallation the hyphenation patterns should be generated
for: english, catalan, ngerman, spanish, nohyphenation
Best regards, and thank your for your work,
Jaume
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (105, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7alcatel
Locale: LANG=C, LC_CTYPE=C
Versions of packages tetex-bin depends on:
ii debconf 1.4.29 Debian configuration management sy
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii dpkg 1.10.22 Package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.1-4 GCC support library
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libkpathsea3 2.0.2-16 path search library for teTeX (run
ii libpaper1 1.1.14 Library for handling paper charact
ii libpng12-0 1.2.5.0-6 PNG library - runtime
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
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 libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxaw7 4.3.0.dfsg.1-6 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii libxmu6 4.3.0.dfsg.1-6 X Window System miscellaneous util
ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.4-2 Larry Wall's Practical Extraction
ii sed 4.1.1-1 The GNU sed stream editor
ii tetex-base 2.0.2a-1 Basic library files of teTeX
ii ucf 1.07 Update Configuration File: preserv
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- debconf information:
* tetex-bin/upd_map: true
* tetex-bin/cnf_name:
* tetex-bin/fmtutil: true
* tetex-bin/userperm: false
* tetex-bin/texmf: true
* tetex-bin/hyphen: ngerman[=naustrian-neue_Rechtschreibung], spanish, german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish, ngerman[=naustrian-neue_Rechtschreibung], spanish
tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
* tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
Reply to: