Archlinux/Raspberry Pi - Issues, Notes and Links

Known issues

Pacman -Syu failed

Symtom

command: pacman -Syu
    error: failed to initialize alpm library
    (database is incorrect version: /var/lib/pacman/)
    error: try running pacman-db-upgrade

****************************************

command: pacman-db-upgrade
    ==> ERROR: You must have correct permissions to upgrade the database.

Reason:

The system is executet in read-only mode, to change this you have to change /boot/cmdline.txt. Add rw in front of rootwait. Then reboot the system.

If there are issues with the pacman database just upgrade it:

pacman-db-upgrade

Quelle: RaspberryPi.org


Notes

Change Hostname

echo myhostname > /etc/hostname

Optional there is an aditional place:

/etc/hosts

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost myhostname
::1   localhost.localdomain localhost myhostname

External Links