custom locale.gen [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

custom locale.gen [Solved]

Postby jancici » Thu Nov 03, 2011 15:15

I did change locale.gen to have English and my mother language there.
Then as run locale-gen.

after that I am getting following error {for example when trying to install vsftp}:
Code: Select all
equo install vsftpd
invalid filesystem encoding ANSI_X3.4-1968, must be UTF-8.
Make sure to set LC_ALL, LANG, LANGUAGE to valid UTF-8 values.
Please execute:
  LC_ALL=en_US.UTF-8 /usr/bin/equo install vsftpd
Cannot automatically recover from this.


I did try to find solution.
I did reinstall glibc, after that I have ALL world language in locale.gen file.

please, what is the correct way to have only my custom language in system. thanks
Last edited by jancici on Thu Nov 03, 2011 18:57, edited 1 time in total.
jancici
Baby Hen
 
Posts: 7
Joined: Thu Oct 27, 2011 19:00
Location: Slovakia

Re: custom locale.gen

Postby Fitzcarraldo » Thu Nov 03, 2011 17:15

See Re: en_GB language missing after install., obviously replacing the keymap code and locale codes with the appropriate ones for your locale.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: custom locale.gen

Postby jancici » Thu Nov 03, 2011 18:57

okay

1) I did edit /etc/env.d/02locale and insert missing lines

2) run env-update && source /etc/profile

and it is okay now, thanks
jancici
Baby Hen
 
Posts: 7
Joined: Thu Oct 27, 2011 19:00
Location: Slovakia


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests