pacsort (pacman 5.2.0-1) is linked with wrong

lsb_release -a
LSB Version: n/a
Distributor ID: Manjaro-ARM
Description: Manjaro ARM Linux
Release: 19.10
Codename: n/a

paccache -dk2
pacsort: error while loading shared libraries: cannot open shared object file: No such file or directory

pacman -Qo /usr/bin/pacsort
/usr/bin/pacsort ist in pacman 5.2.0-1 enthalten

ldd /usr/bin/pacsort (0x0000007fa1a79000) => /usr/lib/ (0x0000007fa1940000) => not found => /usr/lib/ (0x0000007fa17cb000) => /usr/lib/ (0x0000007fa14fb000) => /usr/lib/ (0x0000007fa14e2000) => /usr/lib/ (0x0000007fa14a3000) => /usr/lib/ (0x0000007fa146d000) => /usr/lib/ (0x0000007fa13d0000) => /usr/lib/ (0x0000007fa13a1000) => /usr/lib/ (0x0000007fa1380000) => /usr/lib/ (0x0000007fa1359000)
/lib/ => /usr/lib/ (0x0000007fa1a4b000) => /usr/lib/ (0x0000007fa1345000) => /usr/lib/ (0x0000007fa1316000) => /usr/lib/ (0x0000007fa1300000)

This seems to be a platform-specific problem, as it only occurs on the ARM platform. On AMD64 there is a newer version of the pacman package, which is linked ti the correct version of libalpm (

That's really odd.

pacsort, a component of the pacman package, does not work, because of the wrong libalpm version, which is also part of the pacman package....

This should be fixed in pacman 5.2.1-1.

Tested on Pinebook Pro.

It isn't. pacman needs always been rebuilt twice when you keep pacman-contrib like we do in x86_64 in the pacman package.

Ah okay. Didn't know that. Will remember for next time.

It is noted in the he PKGBUILD file

Forum kindly sponsored by