[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#311704: debian-installer-manual: Must unset LANG when configuring debootstrap'd environment



Package: debian-installer-manual
Version: N/A; reported 2005-06-02
Severity: normal

     When following the instructions in Section C.4. on a Debian box
to build another Debian box, the configuration step in C.4.4. fails if
LANG is set in the chroot'd environment.  That is, the following step:

  # chroot /mnt/debinst /bin/bash

requires that the subordinate bash not have LANG set.

     The problem is that the locales package has not been installed in
the debootstrap'd environment when the chroot is performed, but the
libraries expect the locales to be available if LANG is set.  The
problem has been observed on i386 and alpha, and likely applies to all
architectures.  Moreover, it may apply to other UNIX-like systems that
support locales.


-- System Information
Debian Release: 3.0
Architecture: sparc
Kernel: Linux cscires 2.4.18 #2 Thu Apr 11 14:37:17 EDT 2002 sparc64
Locale: LANG=C, LC_CTYPE=C




Reply to: