Jump to content

Recommended Posts

Posted
Armbianmonitor:

Hello,

 

Thanks for making ARMBian! I would like to be able to use it with my Orange Pi Zero LTS to make a PI-Hole.

I'm using Armbian_19.11.3_Orangepizero_buster_current_5.3.9

However, I keep having problems with locales, such as :

 

Warning: Invalid locale (please review locale settings, this might lead to problems later):

  locale::facet::_S_create_c_locale name not valid

 

How can I fix it ?

 

Thank you.

Posted
1 hour ago, Tomma said:

How can I fix it ?

 

Have you tried setting your locales? You can easily do that with sudo armbian-config

 

Posted

Thank you for your answer. I tried.

It took a lot of time but I still have the same issue when installing Pi-hole.

 

root@orangepizero:~# locale                  

LANG=en_US.UTF-8

LANGUAGE=en_US.UTF-8

LC_CTYPE="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_PAPER="en_US.UTF-8"

LC_NAME="en_US.UTF-8"

LC_ADDRESS="en_US.UTF-8"

LC_TELEPHONE="en_US.UTF-8"

LC_MEASUREMENT="en_US.UTF-8"

LC_IDENTIFICATION="en_US.UTF-8"

LC_ALL=en_US.UTF-8

 

 

Posted
51 minutes ago, Tomma said:

Thank you for your answer. I tried.

It took a lot of time but I still have the same issue when installing Pi-hole.

Here are the settings of my pihole - where I didnt see/get a locale-error

( on debian buster it will at the first pihole install not install python complete. then when it "crashes" I do install a package I know that is installed (here on my system espeak) then it will complete the python install. then I have to start the pihole-install a second time and it will complete, because pihole did find the python-instalation ready for usage)

root@odroid-c2(192.168.6.3):~# locale

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

root@odroid-c2(192.168.6.3):~#

check /etc/environment if there is LC_ALL configured - when yes delete this line ;)

 

root@odroid-c2(192.168.6.3):~# more /etc/environment
ARCH=arm64
root@odroid-c2(192.168.6.3):~#

for your OPi Zero LTS in this file ARCH should be armhf

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines