Libxml2 2.14.2-2 break dependency

Anyone else trying to update today get the following dependency issues?

error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by librest
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by openconnect
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by sane

Not sure why a 32bit package update is effecting 64 bit packages…

I just finished a full upgrade and did not get those errors. Which 32-bit package are you referring to?

I’m having a similar issue here

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

Refresh your mirrorlists and try again: sudo pacman -Syu

Same:

:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by ardour
:: installing libelf (0.193-2) breaks dependency ‘libelf=0.192’ required by elfutils
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by libarchive
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by librest
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by rest
:: installing libxml2 (2.14.2-2) breaks dependency ‘libxml2.so=2-64’ required by sane

From Arch packages:
libxml2 2.14.2-2
Provides: libxml2.so=16-64

My current installed version:

Name : libxml2
Version : 2.13.8-1.1
Provides : libxml2.so=2-64

???

it broke (won’t run or launch) my ungoogled chromium work browser.

the dev, in the AUR, says
" Mackin_cheese commented on 2025-04-30 19:57 (UTC)

To those having issues with libxml2.

This is your system, you should know how to maintain it. If an AUR package is complaining about a missing library, you always do 3 things:

  1. Ensure you have the library installed.
  2. Perform a full system update.
  3. REBUILD the package to align with updated libraries."
    EDIT: I guess my first order of business is to find the library. Could not locate it yet.
1 Like

When it comes to AUR packages, you are right.

However, regarding the issue reported in the OP, the packages “complaining” of broken dependency are all from official repos.

My guess is the update to libxml2 was pushed into the repos before packages dependent on it were rebuilt.

I have seen similar thing happening before. It’s a question of time that updates to those dependent packages are released but if one is “unlucky” to update the system in the meantime, then you’ll see similar issue like the one reported in the OP.

1 Like

Yeah, other arch distros are having the same issue (as am I). This too shall pass (hopefully in the next few hours).

I agree. Not sure what happens now. AUR maintainer says it’s the user’s responsibility now and I can respect that. So maybe rebuild or I will start another thread.

And sorry OP for dragging the AUR into this.
Thanks for your reply.

If an AUR packages is preventing an update due to broken dependencies, it need to be uninstalled first. Then the system should be updated and first then the package from AUR to be build/installed again.

1 Like

excellent. will wait for arch/libxml then do that sequence.

1 Like

I just came back to see what people said, tried again and the dependent packages were updated. All good now.

1 Like

This update will break AUR packages Autofs and wps-office (at least) as it removes the symlink /usr/lib/libxml2.so.2 Just an FYI if anyone uses those and wonders why they’re not working after updates (wps-office will not give any errors, simply doesn’t even ATTEMPT to launch, autofs at least does tell you why it fails to launch).
Don’t know if the aur packages need to be updated to point to the normal libxml2.so symlink, or if this is a symlink that should still exist.

1 Like

the AUR ungoogled maintainer is disputing this status. what a mess.

since, for me, this is my customized work browser, I will switch to backup distro. I don’t know what else I can do. Gotta wait probaby.
Thanks for confirming this, tlmiller

I have tried refreshing mirros and doing a pacman -Syu and pacman -Syyu still no dice today. Rest is still in conflict as of today.

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

Am I missing something, or is it just a matter of waiting for upstream packages to update.

Required by ‘rest’? What is this ?
I would suggest you try what someone suggested earlier in the thread (or another one..not sure), remove this item, update, reinstall the item.

My mistake, what a noob haha.
I saw this and assumed rest was part of this.

After finding time to actually check it was a now removed AUR package that must have been a dependence from some package that I’m no longer using.

Removed and am currently doing full update, thank you

@dbarronoss

the AUR ungoogled package maintainer did make the fixes and it works like expected.
cannot vouch for the Autofs and wps-office maintainers you mention above.

Yeah, making mistake is just human. I made one missing this “rest” package, haha. :sweat_smile:

Note:

The Arch packagers have released a new libxml2-legacy package.

It should serve as replacement dependency for any package (AUR or not) that may not yet be up-to-date.

3 Likes