I'm trying to install arch linux to Beaglebone Black, with image: ArchLinuxARM-am33x-latest.tar.gz dated: 01-Sep-2018 05:38 but the process fails on pacman-key command:
$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman-key --init
gpg: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
chmod: cannot access ‘/etc/pacman.d/gnupg/trustdb.gpg’: No such file or directory
gpg: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
gpg: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
==> Updating trust database...
gpg: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
==> ERROR: Trust database could not be updated.
[root@alarm ~]# pacman-key --populate archlinuxarm
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
')
Any idea on how to fix this?