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

Bug#262053: tetex-bin: Local hyphenation configuration not preserved on reconfigure/reinstall



Hi Again,

Frank Küster <frank@debian.org> writes:

> JG <j2003gi@yahoo.es> wrote:
> 
> > Frank Küster <frank@debian.org> writes:
> > [...]
> >> But I cannot reproduce the magical appearance of german. What is the
> >> output (as root) of
> >> 
> >> echo "FGET tetex-bin/hyphen shown_again" | debconf-communicate
> >> 
> >
> > 0 true
> 
> Which means that the config script will not treat ngerman and french
> specially.
> 
> >> Does ngerman also reappear?
> >
> > Yes: german, ngerman, french reappear.
> >      spanish does not reappear.
> 
> This is really strange. I have only one idea how we can find out what
> happens, and would be thankful if you could help us:
> 
> - Make sure that at least one of the reappearing languages is disabled
>   (and thus has a chance to show its magic).
> 

Ok. For the sake of simplicity, I deactivate all languages:
===
$ grep -v ^% /etc/texmf/language.dat
american ushyph1.tex
=USenglish


=english







nohyphenation zerohyph.tex

===

> - As root, open /var/lib/dpkg/info/tetex-bin.config in an editor, and
>   go to the line that reads
> 
> # handling of language.dat (hyphenation). We first define some functions, 
> 
>   Before this line, please insert the line 
> 
> set -x
> 
>   Save the file.
> 

Ok.

> - As root, please execute
> 
> dpkg-reconfigure tetex-bin 2> config.log
> 
>   and answer as usual. Then send us the file config.log.
> 

Ok. french, german, ngerman appear, I unselect them. 

config.log attached.

> Thanks in advance, Frank


Regards,

Jaume

+ db_input medium tetex-bin/use_debconf
+ _db_cmd 'INPUT medium' tetex-bin/use_debconf
+ echo 'INPUT medium' tetex-bin/use_debconf
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd 'GO '
+ echo 'GO '
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=ok
+ return 0
+ db_get tetex-bin/use_debconf
+ _db_cmd 'GET tetex-bin/use_debconf'
+ echo 'GET tetex-bin/use_debconf'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=true
+ return 0
+ '[' true = true ']'
+ '[' -f /usr/share/texmf/tex/generic/config/language.dat ']'
+ '[' '!' -L /usr/share/texmf/tex/generic/config/language.dat ']'
++ readlink -f /usr/share/texmf/tex/generic/config/language.dat
+ CUR_LDAT=/etc/texmf/language.dat
+ '[' -n /etc/texmf/language.dat ']'
+ parse_ldat /etc/texmf/language.dat
+ file=/etc/texmf/language.dat
++ mktemp
+ tempfile=/tmp/tmp.bYTfbN
+ egrep -v '^[[:blank:]]*%|^[[:blank:]]*$|^[[:blank:]]*=' /etc/texmf/language.dat
+ egrep -v 'american|nohyphenation'
+ true
+ grep inhyph /tmp/tmp.bYTfbN
+ grep bahyph /tmp/tmp.bYTfbN
+ grep cahyph /tmp/tmp.bYTfbN
+ grep hrhyph /tmp/tmp.bYTfbN
+ grep czhyph /tmp/tmp.bYTfbN
+ grep dehypht /tmp/tmp.bYTfbN
+ grep dehyphn /tmp/tmp.bYTfbN
+ grep dkhyphen /tmp/tmp.bYTfbN
+ grep nehyph /tmp/tmp.bYTfbN
+ grep fi8hyph /tmp/tmp.bYTfbN
+ grep frhyph /tmp/tmp.bYTfbN
+ grep gahyph /tmp/tmp.bYTfbN
+ grep grhyph /tmp/tmp.bYTfbN
+ grep icehyph /tmp/tmp.bYTfbN
+ grep ithyph /tmp/tmp.bYTfbN
+ grep lahyph /tmp/tmp.bYTfbN
+ grep huhyph /tmp/tmp.bYTfbN
+ grep nohyph /tmp/tmp.bYTfbN
+ grep nohyphb /tmp/tmp.bYTfbN
+ grep nohyphbc /tmp/tmp.bYTfbN
+ grep plhyph /tmp/tmp.bYTfbN
+ grep pt8hyph /tmp/tmp.bYTfbN
+ grep rohyphen /tmp/tmp.bYTfbN
+ grep ruhyphen /tmp/tmp.bYTfbN
+ grep sehyph /tmp/tmp.bYTfbN
+ grep skhyph /tmp/tmp.bYTfbN
+ grep sihyph23 /tmp/tmp.bYTfbN
+ grep sphyph /tmp/tmp.bYTfbN
+ grep trhyph /tmp/tmp.bYTfbN
+ grep ukrhyph /tmp/tmp.bYTfbN
+ grep ukrhyph.t2a /tmp/tmp.bYTfbN
+ grep ukrhyph.lcy /tmp/tmp.bYTfbN
+ grep ukrhyph.ot2 /tmp/tmp.bYTfbN
+ default=
+ DEFAULTS=
+ rm /tmp/tmp.bYTfbN
+ '[' /etc/texmf/language.dat '!=' /etc/texmf/language.dat -a -f /etc/texmf/language.dat ']'
+ '[' /etc/texmf/language.dat '!=' /var/lib/texmf/language.dat -a -f /var/lib/texmf/language.dat ']'
+ DEFAULTS_BAK=
+ parse_ldat /var/lib/texmf/language.dat
+ file=/var/lib/texmf/language.dat
++ mktemp
+ tempfile=/tmp/tmp.lrItMX
+ egrep -v '^[[:blank:]]*%|^[[:blank:]]*$|^[[:blank:]]*=' /var/lib/texmf/language.dat
+ egrep -v 'american|nohyphenation'
+ grep inhyph /tmp/tmp.lrItMX
+ grep bahyph /tmp/tmp.lrItMX
+ grep cahyph /tmp/tmp.lrItMX
+ grep hrhyph /tmp/tmp.lrItMX
+ grep czhyph /tmp/tmp.lrItMX
+ grep dehypht /tmp/tmp.lrItMX
+ assign_default dehypht
+ default=, german[=austrian-alte_Rechtschreibung]
+ grep dehyphn /tmp/tmp.lrItMX
+ assign_default dehyphn
+ default=, german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung]
+ grep dkhyphen /tmp/tmp.lrItMX
+ grep nehyph /tmp/tmp.lrItMX
+ grep fi8hyph /tmp/tmp.lrItMX
+ grep frhyph /tmp/tmp.lrItMX
+ assign_default frhyph
+ default=, german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois]
+ grep gahyph /tmp/tmp.lrItMX
+ grep grhyph /tmp/tmp.lrItMX
+ grep icehyph /tmp/tmp.lrItMX
+ grep ithyph /tmp/tmp.lrItMX
+ grep lahyph /tmp/tmp.lrItMX
+ grep huhyph /tmp/tmp.lrItMX
+ grep nohyph /tmp/tmp.lrItMX
+ grep nohyphb /tmp/tmp.lrItMX
+ grep nohyphbc /tmp/tmp.lrItMX
+ grep plhyph /tmp/tmp.lrItMX
+ grep pt8hyph /tmp/tmp.lrItMX
+ grep rohyphen /tmp/tmp.lrItMX
+ grep ruhyphen /tmp/tmp.lrItMX
+ grep sehyph /tmp/tmp.lrItMX
+ grep skhyph /tmp/tmp.lrItMX
+ grep sihyph23 /tmp/tmp.lrItMX
+ grep sphyph /tmp/tmp.lrItMX
+ assign_default sphyph
+ default=, german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish
+ grep trhyph /tmp/tmp.lrItMX
+ grep ukrhyph /tmp/tmp.lrItMX
+ grep ukrhyph.t2a /tmp/tmp.lrItMX
+ grep ukrhyph.lcy /tmp/tmp.lrItMX
+ grep ukrhyph.ot2 /tmp/tmp.lrItMX
+ default=german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish
+ DEFAULTS=german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish
+ rm /tmp/tmp.lrItMX
+ '[' -n 'german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish' ']'
+ DEFAULTS=german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish, 
+ db_fget tetex-bin/hyphen shown_again
+ _db_cmd 'FGET tetex-bin/hyphen' shown_again
+ echo 'FGET tetex-bin/hyphen' shown_again
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=true
+ return 0
+ '[' true = false ']'
+ DEFAULT_ANS=german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish, 
+ db_set tetex-bin/hyphen 'german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish, '
+ _db_cmd 'SET tetex-bin/hyphen' 'german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish, '
+ echo 'SET tetex-bin/hyphen' 'german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois], spanish, '
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=value set
+ return 0
+ db_input medium tetex-bin/hyphen
+ _db_cmd 'INPUT medium' tetex-bin/hyphen
+ echo 'INPUT medium' tetex-bin/hyphen
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd 'GO '
+ echo 'GO '
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=ok
+ return 0
+ RETVAL=0
+ '[' 0 -eq 0 ']'
+ '[' ok = true ']'
Regenerating /etc/texmf/texmf.cnf ... done
Regenerating /var/lib/texmf/web2c/fmtutil.cnf ... done
Regenerating /var/lib/texmf/web2c/updmap.cfg ... done
Running initex. This may take some time. ...
fmtutil: /usr/share/texmf/web2c/lambda.oft installed.
fmtutil: /usr/share/texmf/web2c/omega.oft installed.
fmtutil: /usr/share/texmf/web2c/amstex.fmt installed.
fmtutil: /usr/share/texmf/web2c/latex.fmt installed.
fmtutil: /usr/share/texmf/web2c/latex209.fmt installed.
fmtutil: /usr/share/texmf/web2c/pdflatex.fmt installed.
fmtutil: /usr/share/texmf/web2c/pdftex.fmt installed.
fmtutil: /usr/share/texmf/web2c/tex.fmt installed.
fmtutil: /usr/share/texmf/web2c/cont-en.efmt installed.
fmtutil: /usr/share/texmf/web2c/elatex.efmt installed.
fmtutil: /usr/share/texmf/web2c/etex.efmt installed.
fmtutil: /usr/share/texmf/web2c/mptopdf.efmt installed.
fmtutil: /usr/share/texmf/web2c/pdfelatex.efmt installed.
fmtutil: /usr/share/texmf/web2c/pdfetex.efmt installed.
fmtutil: /usr/share/texmf/web2c/metafun.mem installed.
fmtutil: /usr/share/texmf/web2c/mpost.mem installed.
fmtutil: /usr/share/texmf/web2c/mf.base installed.
Running updmap. This may take some time. ...


If you want to change the default settings,
use /usr/bin/texconfig to configure teTeX.

Fixing permissions and group of ls-R as specified by debconf ...
mode of `/var/lib/texmf/ls-R' changed to 0664 (rw-rw-r--)
mode of `/var/cache/fonts/ls-R' changed to 0664 (rw-rw-r--)

Reply to: