Unable to update in `pacman –sysroot -Syyu` – #5 by manuel – Pacman
I’m using Endeavouros to access an arch arm on a pinephone through jumpdrive, but when I runsudo pacman --sysroot /media/a -S uboot-tools
I get the output: error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you’re sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
and when I run sudo pacman --sysroot -Syyu
I get the output:
:: Synchronizing package databases…
error: failed to synchronize all databases (unable to lock database)
A common solution I found online was rm /var/lib/pacman/db.lck
, but no file called db.lck exists anywhere on my system.
What can I do to recover this phosh-aarch installation on my pinephone using Endeavouros to access it through pacman --sysroot
?
Read more here: Source link