Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NanoPI Neo 2 first login error: /usr/bin/ckbcomp: Can not find file "symbols/mx" in any known directory

Featured Replies

During first boot and following first login as root got this error message:

 

New to Armbian? Documentation: https://docs.armbian.com Support: https://forum.armbian.com

New root password: ************
Repeat password: ************
Detected timezone: America/Mexico_City (CST, -0600)
Generating locales: es_MX.UTF-8
Adding console keyboard layout: mx
/usr/bin/ckbcomp: Can not find file "symbols/mx" in any known directory

 

I am not sure that console keyborad layout "mx" exists.

 

 

Solved by Igor

  • otlabs changed the title to NanoPI Neo 2 first login error: /usr/bin/ckbcomp: Can not find file "symbols/mx" in any known directory
  • Author

Now I see same error "/usr/bin/ckbcomp: Can not find file "symbols/mx" in any known directory" while running armbian-config

 

Starting armbian-config I get following warning:

 

otlabs@nanopineo2:~$ sudo armbian-config 
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (es_MX.UTF-8)

 

In main armbian-config I navigate to "Personal" and in "Keyboard" field I see "Change console keyboard layout (us,mx)". Selecting this option produces following output with errors (please, take a look at line in bold as it again mention "mx" keyboard layout):

 

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "es_MX.UTF-8",
        LC_ALL = "es_MX.UTF-8", 
        LC_MESSAGES = "en_US.UTF-8",
        LANG = "es_MX.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"). 
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_ALL to default locale: No such file or directory
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_ALL to default locale: No such file or directory
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.8.16-sunxi64
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (es_MX.UTF-8)
update-initramfs: Converting to u-boot format
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "es_MX.UTF-8",
    LC_ALL = "es_MX.UTF-8",
    LC_MESSAGES = "en_US.UTF-8",
    LANG = "es_MX.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/ckbcomp: Can not find file "symbols/mx" in any known directory
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_ALL to default locale: No such file or directory

 

7 hours ago, otlabs said:

Now I see same error "/usr/bin/ckbcomp: Can not find file "symbols/mx" in any known directory" while running armbian-config


My fix is here to solve problems at first login - for the future, when we rebuild images. For now you also need to remove mx from /etc/default/keyboard and run setupcon -k --force

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.