I am also having great difficulty with setting en_AU as the default locale. I have tried various methods and have yet to find one that actually works.
On 4 December 2013 07:43, Ozi Traveller <ozitravel...@gmail.com> wrote: > Hi > > *perl: warning: Setting locale failed.* > > *perl: warning: Please check that your locale settings:* > * LANGUAGE = "en_AU:en",* > * LC_ALL = (unset),* > * LANG = "en_AU.UTF-8"* > * are supported and installed on your system.* > > > live-build version : 3.0.5-1 > > This is my config/debian-installer/preseed.cfg. > > # d-i debian-installer/locale string en_AU > > d-i localechooser/supported-locales multiselect en_US.UTF-8, en_AU.UTF-8 > > # The user account will be added to some standard initial groups. To > > # override that, use this. d-i passwd/user-default-groups string audio > cdrom video sudo netdev plugdev fuse users lp lpadmin # Uncomment this if > you don't want to use a network mirror. # d-i apt-setup/use_mirror boolean > false # This is fairly safe to set, it makes grub install automatically to > the MBR # if no other operating system is detected on the machine. d-i > grub-installer/only_debian boolean true # Avoid that last message about the > install being complete. # d-i finish-install/reboot_in_progress note # This > command is run just before the install finishes, but when there is # still > a usable /target directory. You can chroot to /target and use it # > directly, or use the apt-install and in-target commands to easily install # > packages and run commands in the target system. d-i preseed/late_command > string \ in-target /usr/local/bin/star_preseed ;\ in-target rm -f > /usr/local/bin/star_preseed ; > > > Neither of these 2 options work to set the locale correctly, and the locale > choose does not display. > > d-i debian-installer/locale string en_AU > > d-i localechooser/supported-locales multiselect en_US.UTF-8, en_AU.UTF-8 > > > sudo apt-get dist-upgrade > Reading package lists... Done > Building dependency tree > > Reading state information... Done > Calculating upgrade... Done > The following packages will be upgraded: > > gnupg gpgv libaudio2 libavcodec53 libavformat53 libavutil51 libcurl3 > libcurl3-gnutls libnss3 libopenjpeg2 libpostproc52 libswscale2 > > libsystemd-login0 libxml2 xserver-common xserver-xorg-core > 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > Need to get 11.5 MB of archives. > After this operation, 142 kB disk space will be freed. > Do you want to continue [Y/n]? y > Get:1 http://security.debian.org/ wheezy/updates/main libaudio2 amd64 > 1.9.3-5wheezy1 [87.1 kB] > > Get:2 http://security.debian.org/ wheezy/updates/main libavutil51 amd64 > 6:0.8.9-1 [98.3 kB] > Get:3 http://security.debian.org/ wheezy/updates/main libopenjpeg2 amd64 > 1.3+dfsg-4.7 [87.5 kB] > Get:4 http://security.debian.org/ wheezy/updates/main libavcodec53 amd64 > 6:0.8.9-1 [2511 kB] > > Get:5 http://security.debian.org/ wheezy/updates/main libavformat53 amd64 > 6:0.8.9-1 [470 kB] > Get:6 http://security.debian.org/ wheezy/updates/main libcurl3 amd64 > 7.26.0-1+wheezy6 [331 kB] > Get:7 http://security.debian.org/ wheezy/updates/main libcurl3-gnutls amd64 > 7.26.0-1+wheezy6 [322 kB] > > Get:8 http://security.debian.org/ wheezy/updates/main libnss3 amd64 > 2:3.14.5-1 [1064 kB] > Get:9 http://security.debian.org/ wheezy/updates/main libpostproc52 amd64 > 6:0.8.9-1 [94.3 kB] > Get:10 http://security.debian.org/ wheezy/updates/main libswscale2 amd64 > 6:0.8.9-1 [126 kB] > > Get:11 http://security.debian.org/ wheezy/updates/main libxml2 amd64 > 2.8.0+dfsg1-7+nmu2 [905 kB] > Get:12 http://security.debian.org/ wheezy/updates/main libsystemd-login0 > amd64 44-11+deb7u4 [29.5 kB] > Get:13 http://security.debian.org/ wheezy/updates/main gpgv amd64 > 1.4.12-7+deb7u2 [226 kB] > > Get:14 http://security.debian.org/ wheezy/updates/main gnupg amd64 > 1.4.12-7+deb7u2 [1953 kB] > Get:15 http://security.debian.org/ wheezy/updates/main xserver-common all > 2:1.12.4-6+deb7u1 [1397 kB] > Get:16 http://security.debian.org/ wheezy/updates/main xserver-xorg-core > amd64 2:1.12.4-6+deb7u1 [1764 kB] > > Fetched 11.5 MB in 24s (471 kB/s) > *perl: warning: Setting locale failed.* > *perl: warning: Please check that your locale settings:* > * LANGUAGE = "en_AU:en",* > * LC_ALL = (unset),* > * LANG = "en_AU.UTF-8"* > * are supported and installed on your system.* > perl: warning: Falling back to the standard locale ("C"). > > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > > locale: Cannot set LC_ALL to default locale: No such file or directory > (Reading database ... 62115 files and directories currently installed.) > > Preparing to replace libaudio2:amd64 1.9.3-5 (using > .../libaudio2_1.9.3-5wheezy1_amd64.deb) ... > Unpacking replacement libaudio2:amd64 ... > > Preparing to replace libavutil51:amd64 6:0.8.6-1 (using > .../libavutil51_6%3a0.8.9-1_amd64.deb) ... > Unpacking replacement libavutil51:amd64 ... > > Preparing to replace libopenjpeg2:amd64 1.3+dfsg-4.6 (using > .../libopenjpeg2_1.3+dfsg-4.7_amd64.deb) ... > Unpacking replacement libopenjpeg2:amd64 ... > > Preparing to replace libavcodec53:amd64 6:0.8.6-1 (using > .../libavcodec53_6%3a0.8.9-1_amd64.deb) ... > Unpacking replacement libavcodec53:amd64 ... > > Preparing to replace libavformat53:amd64 6:0.8.6-1 (using > .../libavformat53_6%3a0.8.9-1_amd64.deb) ... > Unpacking replacement libavformat53:amd64 ... > > Preparing to replace libcurl3:amd64 7.26.0-1+wheezy4 (using > .../libcurl3_7.26.0-1+wheezy6_amd64.deb) ... > Unpacking replacement libcurl3:amd64 ... > > Preparing to replace libcurl3-gnutls:amd64 7.26.0-1+wheezy4 (using > .../libcurl3-gnutls_7.26.0-1+wheezy6_amd64.deb) ... > Unpacking replacement libcurl3-gnutls:amd64 ... > Preparing to replace libnss3:amd64 2:3.14.3-1 (using > .../libnss3_2%3a3.14.5-1_amd64.deb) ... > Unpacking replacement libnss3:amd64 ... > Preparing to replace libpostproc52:amd64 6:0.8.6-1 (using > .../libpostproc52_6%3a0.8.9-1_amd64.deb) ... > Unpacking replacement libpostproc52:amd64 ... > Preparing to replace libswscale2:amd64 6:0.8.6-1 (using > .../libswscale2_6%3a0.8.9-1_amd64.deb) ... > Unpacking replacement libswscale2:amd64 ... > Preparing to replace libxml2:amd64 2.8.0+dfsg1-7+nmu1 (using > .../libxml2_2.8.0+dfsg1-7+nmu2_amd64.deb) ... > Unpacking replacement libxml2:amd64 ... > Preparing to replace libsystemd-login0:amd64 44-11 (using > .../libsystemd-login0_44-11+deb7u4_amd64.deb) ... > Unpacking replacement libsystemd-login0:amd64 ... > Preparing to replace gpgv 1.4.12-7+deb7u1 (using > .../gpgv_1.4.12-7+deb7u2_amd64.deb) ... > Unpacking replacement gpgv ... > Processing triggers for man-db ... > locale: Cannot set LC_CTYPE to default locale: No such file or directory > > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_ALL to default locale: No such file or directory > > Setting up gpgv (1.4.12-7+deb7u2) ... > (Reading database ... 62115 files and directories currently installed.) > Preparing to replace gnupg 1.4.12-7+deb7u1 (using > .../gnupg_1.4.12-7+deb7u2_amd64.deb) ... > Unpacking replacement gnupg ... > Processing triggers for man-db ... > > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > > locale: Cannot set LC_ALL to default locale: No such file or directory > Processing triggers for install-info ... > > Setting up gnupg (1.4.12-7+deb7u2) ... > (Reading database ... 62115 files and directories currently installed.) > > Preparing to replace xserver-common 2:1.12.4-6 (using > .../xserver-common_2%3a1.12.4-6+deb7u1_all.deb) ... > Unpacking replacement xserver-common ... > > Preparing to replace xserver-xorg-core 2:1.12.4-6 (using > .../xserver-xorg-core_2%3a1.12.4-6+deb7u1_amd64.deb) ... > Unpacking replacement xserver-xorg-core ... > > Processing triggers for man-db ... > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_ALL to default locale: No such file or directory > Setting up libaudio2:amd64 (1.9.3-5wheezy1) ... > Setting up libavutil51:amd64 (6:0.8.9-1) ... > Setting up libopenjpeg2:amd64 (1.3+dfsg-4.7) ... > > Setting up libavcodec53:amd64 (6:0.8.9-1) ... > Setting up libavformat53:amd64 (6:0.8.9-1) ... > Setting up libcurl3:amd64 (7.26.0-1+wheezy6) ... > Setting up libcurl3-gnutls:amd64 (7.26.0-1+wheezy6) ... > Setting up libnss3:amd64 (2:3.14.5-1) ... > > Setting up libpostproc52:amd64 (6:0.8.9-1) ... > Setting up libswscale2:amd64 (6:0.8.9-1) ... > Setting up libxml2:amd64 (2.8.0+dfsg1-7+nmu2) ... > Setting up libsystemd-login0:amd64 (44-11+deb7u4) ... > Setting up xserver-common (2:1.12.4-6+deb7u1) ... > > Setting up xserver-xorg-core (2:1.12.4-6+deb7u1) ... > >