Article View: linux.debian.bugs.dist
Article #2565Bug#1152465: locales: dpkg-reconfigure locales prints Generation complete. without generating commented locales
From: Aurelien Jarno
Date: Thu, 29 Oct 2026 18:50
Date: Thu, 29 Oct 2026 18:50
48 lines
3878 bytes
3878 bytes
Hi, On 2026-10-29 16:09, Igor Jagec wrote: > Package: locales > Version: 2.41-12+deb13u4 > Severity: normal > X-Debbugs-Cc: prospero@igorjagec.com > > Dear Maintainer, > > *** Reporter, please consider answering these questions, where appropriate *** > > * What led up to the situation? > Running `dpkg-reconfigure locales` non-interactively or on a minimal environment where target locales are commented out in `/etc/locale.gen`. > > * What exactly did you do (or not do) that was effective (or > ineffective)? > 1. Executed `sudo dpkg-reconfigure locales` (or with `DEBIAN_FRONTEND=noninteractive`). Could you please share the content of /etc/locale.gen before executing that command? > 2. The command exited successfully with status 0 and printed "Generation complete." while leaving the target locale still commented out in `/etc/locale.gen` because it checked internal debconf cache rather than parsing the file. Could you please tell me what is the target locale? Is it the one you selected in the debconf screen? You also mention DEBIAN_FRONTEND=noninteractive so this is confusing. > * What was the outcome of this action? > The tool output a false-positive success message, leaving the system environment stuck on `C.UTF-8` until manual file editing (`sed`) or explicit debconf preseeding was performed. Again please explain what you selected in the debconf screens. > * What outcome did you expect instead? > The tool should either automatically enable and generate the configured locale from debconf/environment, or fail with a clear error indicating that the requested locale is commented out in `/etc/locale.gen`. Could you please tell me what is the "requested locale"? If you selected a locale to be generated and it is left commented out in `/etc/locale.gen`, this is indeed a bug. But I can't reproduce it without more details. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net
Technical Details
Message-ID:
<NTDmh-8FuR-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NTB17-8EjT-1@gated-at.bofh.it> <NTB17-8EjT-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Aurelien Jarno <aurel32@debian.org> Newsgroups: linux.debian.bugs.dist,linux.debian.maint.glibc Subject: Bug#1152465: locales: dpkg-reconfigure locales prints Generation complete. without generating commented locales Date: Thu, 29 Oct 2026 19:50:01 +0100 Message-ID: <NTDmh-8FuR-3@gated-at.bofh.it> References: <NTB17-8EjT-1@gated-at.bofh.it> <NTB17-8EjT-1@gated-at.bofh.it> X-Original-To: Igor Jagec <prospero@igorjagec.com>, 1152465@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 29 18:43:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.699 Reply-To: Aurelien Jarno <aurel32@debian.org>, 1152465@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-glibc@lists.debian.org X-Debian-Pr-Message: followup 1152465 X-Debian-Pr-Package: locales X-Debian-Pr-Source: eglibc, glibc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.4.1 (2026-07-04) X-Debian-User: aurel32 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999584 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 29 Oct 2026 19:41:34 +0100 X-Original-Message-ID: <auOTXj_StL4OTFls@aurel32.net> X-Original-References: <179329015806.10016.6309390986331922437.reportbug@debian> <179329015806.10016.6309390986331922437.reportbug@debian>