Difficulty: ★★★☆☆
As everyone might have noticed, there hasn’t been a new alpha of Lomiri in a while.
If you do a full system upgrade with:
sudo pacman -Syu
lightdm
will refuse to start.
The problem
The underling issue is not with lightdm
, but with the mir display server
package.
mir
requires protobuf
, in particular libprotobuf-lite.so.23
but upgrading with pacman
bumps protobuf to a newer version that only has libprotobuf-lite.so.27
thus causing mir
to fail and lightdm
to not start.
The solution
The solution to this (as i’ve found, there might other ways to fix this) is to rebuild mir
from source with the new protobuf-3.16.0-1
library and here’s what you need to do:
On a x86_64 Manjaro machine:
-
Install the manjaro dev tools
sudo pacman -S manjaro-arm-tools manjaro-tools-base
-
clone this repo
git clone https://gitlab.manjaro.org/manjaro-arm/packages/community/lomiri-dev/mir.git
-
Build the package
sudo buildarmpkg -p <PATH TO mir package> -b unstable -k
-
Copy the package to the phone
scp <PATH TO mir>/mir-1.8.1-1-aarch64.pkg.tar.zst manjaro@<PHONE IP>:/
Or, Alternatively:
- grab the file from here
Then on the phone:
-
Install the package with pacman
sudo pacman -U mir-1.8.1-1-aarch64.pkg.tar.zst
-
reboot the phone or restart lightdm
sudo systemctl restart ligthdm