You are not logged in.

#1 2012-07-28 21:30:16

Janarto
Member
From: Paris
Registered: 2008-09-23
Posts: 80

[solved] bsdcpio failed to set default locale

Hi all,

I've followed the guide, except for the locale as i need a french keyboard

i tried with both fr_FR.UTF-8 and fr_FR.iso88591 but each time mkinitcpio -p produces the same error message.

locale-a also signals some errors :

Cannot set LC_CTYPE to default locale : No such file or directory
Cannot set LC_MESSAGES to default locale : No such file or directory
Cannot set LC_COLLATE to default locale : No such file or directory

i've browsed the forum but the proposed troubleshooting was not usefull
(i've checked my mkinicpio.conf and included both usb and keymap hooks)

Best

Last edited by Janarto (2012-07-29 10:10:25)

Offline

#2 2012-07-28 22:08:36

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

Re: [solved] bsdcpio failed to set default locale

Have you enabled the locale and run 'locale-gen' https://wiki.archlinux.org/index.php/Be … ide#Locale ?

Edit: What's the output of 'locale' and 'locale -a'?

Last edited by karol (2012-07-28 22:09:49)

Offline

#3 2012-07-29 05:15:18

Janarto
Member
From: Paris
Registered: 2008-09-23
Posts: 80

Re: [solved] bsdcpio failed to set default locale

I found the  issue, i had to execute :

export LANG=fr_FR.UTF-8

before setting locales and running mkinitcpio and it went smoothly

Thank you for the help, the solution is documented in the french wiki !

Offline

Board footer

Powered by FluxBB