You are not logged in.
Pages: 1
Topic closed
so i get the bsdtar: failed to set default locale error when using yaourt to install savage-xr
theres another thread about this error and i did what it says in that thread but i still get this error
heres locale.gen
#en_SG ISO-8859-1
en_US.UTF-8 UTF-8
en_US ISO-8859-1
#en_ZA.UTF-8 UTF-8 heres rc.conf
CONSOLEMAP=
LOCALE="en_us.UTF-8 UTF-8"
DAEMON_LOCALE="yes"ive also tried "en_us.UTF-8" and "en_us.utf8"
also when logging in i get a few bash errors
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_us.UTF-8 UTF-8) no such file or directoryim thinking the bash error is probably related to my fubared locales
heres what locale -a looks like
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_COLLATE to default locale: No such file or directory
C
POSIX
en_US
en_US.iso88591
en_US.utf8thanks for your time
Offline
See locale -a (or locale.gen) for available options.
If you take it literally, OP's way should work. Does it warrant a bug report for rephrasing the man page?
Offline
If you take it literally, OP's way should work. Does it warrant a bug report for rephrasing the man page?
## Each line is of the form: ## ## <locale> <charset> ## ## where <locale> is one of the locales given in /usr/share/i18n/locales ## and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
Offline
Ah, OK, thanks.
Offline
I am having the same issue as the OP. I receive the error in the title every time I run 'makepkg'
My locale.gen is:
#es_SV ISO-8859-1
es_US.UTF-8 UTF-8
es_US ISO-8859-1
#es_UY.UTF-8 UTF-8 rc.conf is
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
HARDWARECLOCK="UTC"output of locale -a
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_COLLATE to default locale: No such file or directory
C
POSIX
es_US
es_US.iso88591
es_US.utf8output of locale-gen
Generating locales...
es_US.UTF-8... done
es_US.ISO-8859-1... done
Generation complete.Any idea what's wrong?
Offline
My locale.gen is:
#es_SV ISO-8859-1 es_US.UTF-8 UTF-8 es_US ISO-8859-1 #es_UY.UTF-8 UTF-8rc.conf is
LOCALE="en_US.UTF-8" DAEMON_LOCALE="yes" HARDWARECLOCK="UTC"Any idea what's wrong?
Take a good hard look at the lines you have uncommented in locale.gen. Then look at your LOCALE in rc.conf.
Offline
magostin wrote:My locale.gen is:
#es_SV ISO-8859-1 es_US.UTF-8 UTF-8 es_US ISO-8859-1 #es_UY.UTF-8 UTF-8rc.conf is
LOCALE="en_US.UTF-8" DAEMON_LOCALE="yes" HARDWARECLOCK="UTC"Any idea what's wrong?
Take a good hard look at the lines you have uncommented in locale.gen. Then look at your LOCALE in rc.conf.
Ugh ... fixed. Sorry for the noise ....
Offline
Running locale-gen solved this issue for me
Offline
Offline
Hi Aginor,
Welcome to Arch Linux. Do be aware of old posts
Two years on, the original participants may not care anymore.
Your post was relevant, so it is fine. But, I am going to close the thread now.
Edit: Too late ![]()
Last edited by ewaller (2014-04-17 03:45:50)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed