Bug#692777: locales: dpkg-reconfigure locales does not generate the locales by wrongly assuming that locales-all is installed
Package: locales
Version: 2.13-35
Severity: normal
Hello,
When I execute dpkg-reconfigure locales and choose the right options, it
terminates with the message
locales-all installed, skipping locales generation
This happens because in /var/lib/dpkg/info/locales.postinst , this check
is made:
if dpkg-query -S locales-all >/dev/null 2>&1 ; then
and it happens the the live-config package has this file:
# dpkg-query -S locales-all
live-config: /lib/live/config/0060-locales-all
The package locales-all is not installed, but the locales.postinst
script is wrongly assuming it is.
Thank you,
Valmiky Arquissandas
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.46
ii libc6 [glibc-2.13-1] 2.13-35
locales recommends no packages.
locales suggests no packages.
-- debconf information:
* locales/default_environment_locale: None
* locales/locales_to_be_generated: en_GB ISO-8859-1, en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8 UTF-8, en_IE ISO-8859-1, en_IE.UTF-8 UTF-8, en_IE@euro ISO-8859-15, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8, pt_PT ISO-8859-1, pt_PT.UTF-8 UTF-8, pt_PT@euro ISO-8859-15
Reply to: