~# cat /etc/default/locale
# File generated by update-locale
LANG=en_US.UTF-8
notably, when `/usr/sbin/dpkg-reconfigure locales` is run
*interactively* in place of the noninteractive call, "en_US.UTF-8 UTF-8"
is *not* preselected; selecting it and completing the reconfigure
results in what i would expect (full output in
interactive-dpkg-reconfigure+debug.log):
~# debconf-show locales
* locales/locales_to_be_generated: en_US.UTF-8 UTF-8
* locales/default_environment_locale: en_US.UTF-8
~# egrep -v ^\# /etc/locale.gen
it's unclear to me why the run of `/var/lib/dpkg/info/locales.config
reconfigure 2.23-0ubuntu3` behaves as it does, but something appears
awry. after finding /etc/locale.gen empty, the locales.config script
(via GEN_LOCALES and SELECTED_LOCALES variables) appears to *un*set
locales/locales_to_be_generated. similarly, it seems that the script
tries to substitute the DEFAULT_LOCALES that it finds (from on-disk
files) into locales/default_environment_locale (cf. the debconf error
above) without regard to its existing value.
tia!
andy
--
andrew bezella <email address hidden>
Internet Archive
my initial problem was that i'd not been including the
'language-pack-en' but it still doesn't seem to be working as expected.
attempting to noninteractively reconfigure locales *un*sets locales_ to_be_generated (full output in dpkg-reconfigur e+debug. log): locales_ to_be_generated : en_US.UTF-8 UTF-8 default_ environment_ locale: en_US.UTF-8
[intentiona lly blank lines]
locales/
noninteractive-
~# debconf-show locales
* locales/
* locales/
~# egrep -v ^\# /etc/locale.gen
~# cat /etc/default/locale FRONTEND= noninteractive /usr/sbin/ dpkg-reconfigur e locales locales_ to_be_generated : default_ environment_ locale: en_US.UTF-8
# File generated by update-locale
~# DEBIAN_
Generating locales (this might take a while)...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
en_IN.UTF-8... done
en_NG.UTF-8... done
en_NZ.UTF-8... done
en_PH.UTF-8... done
en_SG.UTF-8... done
en_US.UTF-8... done
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
Generation complete.
~# debconf-show locales
* locales/
* locales/
~# egrep -v ^\# /etc/locale.gen
~# cat /etc/default/locale
# File generated by update-locale
LANG=en_US.UTF-8
notably, when `/usr/sbin/ dpkg-reconfigur e locales` is run dpkg-reconfigur e+debug. log): locales_ to_be_generated : en_US.UTF-8 UTF-8 default_ environment_ locale: en_US.UTF-8
*interactively* in place of the noninteractive call, "en_US.UTF-8 UTF-8"
is *not* preselected; selecting it and completing the reconfigure
results in what i would expect (full output in
interactive-
~# debconf-show locales
* locales/
* locales/
~# egrep -v ^\# /etc/locale.gen
~# cat /etc/default/locale dpkg-reconfigur e locales default_ environment_ locale: en_US.UTF-8 locales_ to_be_generated : en_US.UTF-8 UTF-8
# File generated by update-locale
~# /usr/sbin/
Generating locales (this might take a while)...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
en_IN.UTF-8... done
en_NG.UTF-8... done
en_NZ.UTF-8... done
en_PH.UTF-8... done
en_SG.UTF-8... done
en_US.UTF-8... done
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
Generation complete.
~# debconf-show locales
* locales/
* locales/
~# egrep -v ^\# /etc/locale.gen
en_US.UTF-8 UTF-8
~# cat /etc/default/locale
# File generated by update-locale
LANG=en_US.UTF-8
it's unclear to me why the run of `/var/lib/ dpkg/info/ locales. config locales_ to_be_generated . similarly, it seems that the script default_ environment_ locale (cf. the debconf error
reconfigure 2.23-0ubuntu3` behaves as it does, but something appears
awry. after finding /etc/locale.gen empty, the locales.config script
(via GEN_LOCALES and SELECTED_LOCALES variables) appears to *un*set
locales/
tries to substitute the DEFAULT_LOCALES that it finds (from on-disk
files) into locales/
above) without regard to its existing value.
tia!
andy
--
andrew bezella <email address hidden>
Internet Archive