tgirod Posted November 9, 2015 Posted November 9, 2015 I have rencently installed armbian (jessie vanilla) on a brand new olimex LIME2. My locales are set to use en_US.UTF-8, but when logging through ssh, as root or as regular user, everything is set to "POSIX". ssh root@brique root@brique's password: Load: 1.28, 0.39, 0.13 - Board: 22.8°C - Memory: 968Mb root@brique:~# locale LANG= LANGUAGE= 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= But after quite a few trials and errors, I found that in any session, if I call the command "su" (even to log as the same user), this will update all those env variables to the right values : ssh root@brique root@brique's password: Last login: Mon Nov 9 22:24:44 2015 from 192.168.0.4 Load: 0.05, 0.16, 0.12 - Board: 22.0°C - Memory: 967Mb root@brique:~# locale LANG= LANGUAGE= 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= root@brique:~# su Load: 0.05, 0.16, 0.12 - Board: 22.2°C - Memory: 964Mb root@brique:~# 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=POSIX 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= I'm kind of lost here ... anyone have an idea about what's going on ?
wildcat_paris Posted November 10, 2015 Posted November 10, 2015 @tgirod really unsure (there is an automatic set-up on the first boot of a fresh Armbian install, all is set-up on 2nd boot) because I have started applying the "dpkg-reconfigure" section from http://www.armbian.com/documentation/ then creating my non-root user @Igor, the page really needs to be split (or one page with quick "menu entries") proposal: * Quick FAQ for beginners? * After install Armbian set-up? * How to unbrick the system? * How to install to NAND, SATA & USB? * How to build Armbian?
technik007_cz Posted November 14, 2015 Posted November 14, 2015 Hi, log in as root user and try command "dpkg-reconfigure locales" and logout login again.
tgirod Posted November 14, 2015 Author Posted November 14, 2015 I did this, several time, and it didn't change anything. In the end I installed a regular Jessie with this https://github.com/labriqueinternet/build.labriqueinter.net/tree/import_sunxi but thanks anyway !
technik007_cz Posted November 14, 2015 Posted November 14, 2015 Ok mate, but keep in mind the source of this problem can be in: corrupted system image, weak power adapter for your Lime2 board (there are lot of power adapters dropping voltage under load below "safe" values and only few good ones on the market), microSD or SD card has been removed after transferring system image too early (these card are slow and it still takes time to write all data even system say 100% written) or card reader is plugged in internal or external hub which is underpowered and causes data corruption during transfers. 1
Igor Posted November 16, 2015 Posted November 16, 2015 Strangely, locales on Jessie are somehow corrupted. It could be my fault ... I am going to rebuild images soon, so I won't fix this one. Solution: locale-gen logout / login 1
Recommended Posts