Coming from Nobara and Garuda (Arch) before that, I just installed Bazzite and am trying to learn as much as I can.
I have successfully installed Distrobox containers using BoxBuddy. But the Arch container I created (using the arch-ghcr.io/ublue-os/bazzite-arch:latest image) seems broken.
When I enter “paru” to update everything I get lots of applications downloading, but then it errors out at the end. And any future invokation of paru or pacman gives me the following error:
paru: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory
If I try “upgrade box” in BoxBuddy, I get the following error:
Upgrading arch...
distrobox: Installing basic packages...
/usr/bin/pacman
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
Error: An error occurred
Usually a locked database implies that pacman is already running. But it’s not as far as I can tell.
There is a library version difference between pacman and paru.
@chicagonyc When you run pacman directly in your container, does it work? For me it works without any problems. The issue seems to be that paru is not linked against the right library version.
pacman doesn’t work because it complains about a locked database. However I installed another Arch container without paru in it and pacman did work (but no AUR).
You need to download the latest image. Let me explain the steps. First you probably want to save the list of packages that you have in your current container. Run the following command on the host:
distrobox enter --name arch -- pacman -Qe > /tmp/arch_packages.txt
Next we are going to replace the distrobox with the newest version:
Nope, can’t find it either, strange enough it is contained in ujust, you can check it out by using the command below ujust --list | grep opentabletdriver
Strange, @j0rge (sorry for tagging abruptly), just curious on how these recipes are created in the first place and are they available on a git repo or something? if yes then please drop a link so that I can learn more.