You are not logged in.

#1 2012-02-20 10:48:05

dekela
Member
Registered: 2011-05-18
Posts: 16

bsdcpio: Failed to set default locale

Hi

I noticed this error happening on my last few installs.

Shouldnt there be a default locale when installing?

[2012-02-15 17:07] ==> Generating module dependencies
[2012-02-15 17:07] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2012-02-15 17:07] bsdcpio: Failed to set default locale

Dekel

Offline

#2 2012-02-20 10:49:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: bsdcpio: Failed to set default locale

Please post the output of 'locale' and 'locale -a'.


Edit: Have a look at https://bbs.archlinux.org/viewtopic.php?id=132475

Last edited by karol (2012-02-20 10:51:21)

Offline

#3 2012-02-20 13:06:55

dekela
Member
Registered: 2011-05-18
Posts: 16

Re: bsdcpio: Failed to set default locale

[dekela@arch-vm ~]$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
[dekela@arch-vm ~]$ locale -a
C
POSIX
[dekela@arch-vm ~]$ 

My rc.conf locale is empty.
In the installation wizard there is not locale setup other then editing the rc.conf.

If I recall the previous rc.conf had a default US locale.
Am I correct?

Dekel

Offline

#4 2012-02-20 13:15:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: bsdcpio: Failed to set default locale

Yes, the current default rc.conf is empty http://projects.archlinux.org/initscrip … ee/rc.conf
Try setting some reasonable LOCALE and uncomment the same locale in /etc/locale.gen & regenerate the locale by running 'locale-gen' as root.

Offline

#5 2012-03-18 14:42:13

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: bsdcpio: Failed to set default locale

I had the same error and a mix of "en_GB*" and "en_US*" in locale.gen and rc.conf. Above made me aware and solved it, thanks.

Offline

Board footer

Powered by FluxBB