When running pacman -Syu to upgrade my system, I get this:
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by electron32
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by electron33
I noticed that the electron package is required by a piece of software I extensively use, Bitwarden, so I decided not to touch it. Any advice on how to fix it and proceed with the system upgrade?
By the way, this is the system right now:
Linux alexandre-82nm 6.12.25-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat, 26 Apr 2025 05:36:37 +0000 x86_64 GNU/Linux
I am assuming that you are using the Manjaro repo version of bitwarden (which depends on electron34 which is in the repos). So you should be able to remove the 2 older electron packages, which are now in the AUR, without any issues:
I have the same or a similar problem:
after “sudo pacman -R rest lib32-rest” and
“sudo pacman -Syu”
“No database could be synchronized, could not unlock database” appears.
… these are two separate commands
What was each ones output?
You quoted just one line from the second commands output.
As a mere anecdote right now:
I also had a problem with libxml2 during an update of my Manjaro Plasma VM today.
Neither pacman nor pamac would work due to this - and, since the update didn’t finish, no kernel as well.
I had the luxury that it was just a VM for testing purposes and I just deleted it instead of trying to fix it.
I just reinstalled.
Which is not really an option for a real system used to do real work.