Bug#304257: libc6: libc.preinst may break noninteractive install under some locales
Package: libc6
Version: 2.3.2.ds1-20
Severity: important
Tags: patch
This snippet in libc.preinst:
frontend=`echo "$DEBIAN_FRONTEND" | tr '[:upper:]' '[:lower:]'`
if [ "$frontend" = noninteractive ]; then
can misbehave under Turkish locales, because tolower(I) != i
The simplest solution (not tested though) is to force LC_ALL to C,
as is already done in libc.postinst.
Denis
Index: debian/debhelper.in/libc.preinst
===================================================================
--- debian/debhelper.in/libc.preinst (revision 881)
+++ debian/debhelper.in/libc.preinst (working copy)
@@ -1,5 +1,6 @@
#!/bin/bash
set -e
+export LC_ALL=C
dpkg --assert-support-predepends
Reply to: