Your message dated Tue, 14 Apr 2015 21:20:18 +0000 with message-id <[email protected]> and subject line Bug#782241: fixed in glibc 2.19-18 has caused the Debian Bug report #782241, regarding locales: On upgrade, generic locales as C.UTF-8 are lost in /etc/default/locale to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 782241: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782241 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: locales Version: 2.19-17 Severity: serious Tags: patch Justification: valid administator configuration is lost on upgrade Hi, The current debconf script for the 'locales' package does not allow to choose the C.UTF-8 locale. Moreover, if an administrator write this valid value for the LANG variable in /etc/default/locale, the value will be overwritten as soon as the 'locales' package is reconfigurated. If I correctly follow the logic of the config script, one goal is to ensure that the chosen value is correct (i.e. supported). So, the current value is not always put in the debconf proposed list. However, the C.UTF-8 value is valid (as are C and POSIX but I'm less sure of their value). So, either the C.UTF-8 value (and perhaps C and POSIX) should be proposed when selecting the default environment locale, or, at very least, the config script must allow to keep it when it has manually be put into /etc/default/locale by the administrator. If you want to always allow this value, the current patch is enough: =============== --- locales.config 2015-03-14 10:30:53.000000000 +0100 +++ /tmp/locales.config 2015-04-09 15:05:40.257852467 +0200 @@ -547,9 +547,12 @@ fi DEFAULT_LOCALES="$(echo $RET | sed -e 's/ [^ ]*,/,/g' -e 's/ [^ ]*$//')" if [ -n "$DEFAULT_LOCALES" ]; then - db_subst locales/default_environment_locale locales $DEFAULT_LOCALES - db_input medium locales/default_environment_locale || true + DEFAULT_LOCALES="C, C.UTF-8, POSIX, $DEFAULT_LOCALES" + else + DEFAULT_LOCALES="C, C.UTF-8, POSIX" fi + db_subst locales/default_environment_locale locales $DEFAULT_LOCALES + db_input medium locales/default_environment_locale || true ;; *) break =============== Feel free to adjust the list of always supported locales (ie C and POSIX) If you want to only allow the C, C.UTF-8, and POSIX locales when they have been manually set up (so they do not show up on default install), I can provide an updated patch. Just tell me. Regards, Vincent -- System Information: Debian Release: 8.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel Kernel: Linux 3.19.0-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages locales depends on: ii debconf [debconf-2.0] 1.5.56 ii libc-bin 2.19-17 locales recommends no packages. locales suggests no packages. -- debconf information: locales/default_environment_locale: None locales/locales_to_be_generated: fr_FR.UTF-8 UTF-8
--- End Message ---
--- Begin Message ---Source: glibc Source-Version: 2.19-18 We believe that the bug you reported is fixed in the latest version of glibc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Aurelien Jarno <[email protected]> (supplier of updated glibc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 14 Apr 2015 19:50:11 +0200 Source: glibc Binary: libc-bin libc-dev-bin glibc-doc glibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc libc6-dev-sparc libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mips32 libc6-dev-mips32 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-x32 libc6-dev-x32 libc6-i686 libc6-xen libc0.1-i686 libc0.3-i686 libc0.3-xen libc6.1-alphaev67 libc6-loongson2f libnss-dns-udeb libnss-files-udeb Architecture: source all Version: 2.19-18 Distribution: unstable Urgency: medium Maintainer: Aurelien Jarno <[email protected]> Changed-By: Aurelien Jarno <[email protected]> Description: glibc-doc - GNU C Library: Documentation glibc-source - GNU C Library: sources libc-bin - GNU C Library: Binaries libc-dev-bin - GNU C Library: Development binaries libc0.1 - GNU C Library: Shared libraries libc0.1-dbg - GNU C Library: detached debugging symbols libc0.1-dev - GNU C Library: Development Libraries and Header Files libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64 libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64 libc0.1-i686 - GNU C Library: Shared libraries [i686 optimized] libc0.1-pic - GNU C Library: PIC archive library libc0.1-udeb - GNU C Library: Shared libraries - udeb (udeb) libc0.3 - GNU C Library: Shared libraries libc0.3-dbg - GNU C Library: detached debugging symbols libc0.3-dev - GNU C Library: Development Libraries and Header Files libc0.3-i686 - GNU C Library: Shared libraries [i686 optimized] libc0.3-pic - GNU C Library: PIC archive library libc0.3-udeb - GNU C Library: Shared libraries - udeb (udeb) libc0.3-xen - GNU C Library: Shared libraries [Xen version] libc6 - GNU C Library: Shared libraries libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64 libc6-dbg - GNU C Library: detached debugging symbols libc6-dev - GNU C Library: Development Libraries and Header Files libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64 libc6-dev-i386 - GNU C Library: 32-bit development libraries for AMD64 libc6-dev-mips32 - GNU C Library: o32 Development Libraries for MIPS libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64 libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64 libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for ppc64 libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64 libc6-dev-s390 - GNU C Library: 32bit Development Libraries for IBM zSeries libc6-dev-sparc - GNU C Library: 32bit Development Libraries for SPARC libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC libc6-dev-x32 - GNU C Library: X32 ABI Development Libraries for AMD64 libc6-i386 - GNU C Library: 32-bit shared libraries for AMD64 libc6-i686 - GNU C Library: Shared libraries [i686 optimized] libc6-loongson2f - GNU C Library: Shared libraries (Loongson 2F optimized) libc6-mips32 - GNU C Library: o32 Shared libraries for MIPS libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64 libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64 libc6-pic - GNU C Library: PIC archive library libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64 libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64 libc6-s390 - GNU C Library: 32bit Shared libraries for IBM zSeries libc6-sparc - GNU C Library: 32bit Shared libraries for SPARC libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC libc6-udeb - GNU C Library: Shared libraries - udeb (udeb) libc6-x32 - GNU C Library: X32 ABI Shared libraries for AMD64 libc6-xen - GNU C Library: Shared libraries [Xen version] libc6.1 - GNU C Library: Shared libraries libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized) libc6.1-dbg - GNU C Library: detached debugging symbols libc6.1-dev - GNU C Library: Development Libraries and Header Files libc6.1-pic - GNU C Library: PIC archive library libc6.1-udeb - GNU C Library: Shared libraries - udeb (udeb) libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb) libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb) locales - GNU C Library: National Language (locale) data [support] locales-all - GNU C Library: Precompiled locale data multiarch-support - Transitional package to ensure multiarch compatibility nscd - GNU C Library: Name Service Cache Daemon Closes: 782241 Changes: glibc (2.19-18) unstable; urgency=medium . [ Aurelien Jarno ] * debhelper.in/locales.templates: allow the C.UTF-8 locale to be selected as the default locale. Closes: #782241. Checksums-Sha1: 2dab91c90691b5dc1ae9718568871ab07fe2d409 8208 glibc_2.19-18.dsc 13887ee803170ea841f18523d8edae8366d897ce 1030448 glibc_2.19-18.debian.tar.xz c4c52fa6ffe4300bbd49aa7a3de5a3aa111953bf 2265778 glibc-doc_2.19-18_all.deb 630551bf4ae003b34a6e2f67245291c1da29dc79 13976784 glibc-source_2.19-18_all.deb 43b6bcf3d137d7a549d87fb905ee480b7c14fc5f 3923992 locales_2.19-18_all.deb Checksums-Sha256: bd53c829359b4fe33c08a33bbad6da5b2e4dbf72b74fb8033c6d7e9db7581ddd 8208 glibc_2.19-18.dsc 67c9731e7cf933ba4ac35e6d8302acd36cbae3fb19d79ab53e7ec1ef7caf50ab 1030448 glibc_2.19-18.debian.tar.xz 3504ec10a2db9145e03ca34be82e4eaa3025d5ab2e1acd5bf43868b7bf894b4e 2265778 glibc-doc_2.19-18_all.deb c755cb53c1beca3b2677d8872cf2f6887c1efd7b541058edd1f51a2ba5143d6a 13976784 glibc-source_2.19-18_all.deb f7b5a6bcb9d8a4938754488cee3d3ef3d08f7cc6d9f6adfe1a7430957c4a2eea 3923992 locales_2.19-18_all.deb Files: aa67186f341d1366993aaec80fe7773e 8208 libs required glibc_2.19-18.dsc e635b3cfc99dfa89c2f659aefbb7571e 1030448 libs required glibc_2.19-18.debian.tar.xz 06f1c25e2c92ff0feb52cc106ebf285e 2265778 doc optional glibc-doc_2.19-18_all.deb b1b6f738733e2197c8fc3bf9bc86964d 13976784 devel optional glibc-source_2.19-18_all.deb bab3eac8578f2e3b6529bd64d63cba3e 3923992 localization standard locales_2.19-18_all.deb Package-Type: udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVLWiLAAoJELqceAYd3YybUX4P/jFzoVAHptZ32Kh09DFsQXP6 N330PZD+OW7LQnqbqQjH4aqH45glB5juP4DgOLFa0WMvsVVcX4Bz0FuP9G90qnJm sp/+fP9tRrpmU8+y7gmr6SvmP2C1v8V195CqflubzRwcxvY+x+QZCqYvxXg3TSb4 ZlBHGDSr5O++au85BWb6l8CtF+cszk4UXB6WLu8QxkCgBipFTvmkcj2PZrntZrRs pw5lbw/6zHskSbYdmBsXrXsCaZd9lSMGg86GN+XClKgbZz/ZoJc9HMeXeF99+JPq f9reobQlpyr+RYUQNeoG6AQeeFPMq2uOlAIRwUXnSehEK+AZS4Y6w7m2XeGxn5cb oDxMZBAmvGTQH/drBD0uXKCAzf5mYZWAtQosepDz05EX4UK5kYftIv28J+gvg6/R xf1dXl8WZl2hscWkY9jWVAVy+sshpJRUfbVzltmH390urBhg34+u/nTh6UnpSx/s gu2C1h0dVhV6iMILeiANLwA5N8dzcB6dcGhWaw40rcaGJFt1wCpGRGW5jO5xNh2k 1WQCpDpvnEESYQbs74oCVs8YrjcyXNnChWum2rl7UO6UWIcXMzEF5cwl1zO+lCFG j5j7joE4s3CuRomq8eLekacHKgoDKunQzIp7lvKcwde8JtYJMZuYsez6S57/kJiY e/pSMuFM4Ev+6c1wIaM+ =arVJ -----END PGP SIGNATURE-----
--- End Message ---

