Libxml2 (2.14.2-2) breaks dependency

Hi All,

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

Regards,
Alex

1 Like

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:

sudo pacman -R electron32 electron33

Then run the update:

sudo pacman -Syu
5 Likes

Thanks, Scotty.
That solved the issue!

Best,
Alex

2 Likes

I had same conflict but different dependency:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by rest

Had to remove them:

sudo pacman -R rest lib32-rest
2 Likes

Yes, rest and lib32-rest were dropped from the repos and nothing requires them.

3 Likes

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.

Michael

I had the same problem. The removal worked.
Ran the update from the UI

… 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.

Hit this same problem, ran the removal and then pacman -Syu could install the 191 package upgrades.

how can this solved?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.