You are not logged in.
This is very recent, so I expect all it'll take is a bit of waiting, but I ask just in case I'm missing something I could do at my end. As of right now (2025-04-30; this is a very recent issue) attempts to update packages with 'pacman -Syu' fail with
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by rest
Also:
$ sudo pacman -S libxml2
resolving dependencies...
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 emacs
:: 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 openconnect
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by rest
Last edited by grobber (2025-04-30 21:19:39)
Offline
Rest isn't in the repos. It's up to you to rebuild foreign packages when they need to be.
Offline
I initially wrote the other packages seem to have the same dependency, but after removing rest (I do not recall installing it) the update went through fine.
I have very few AUR installs (always manual), and they are clearly named in a repos folder. rest is not among them and I have no idea how it got on here. In any event, its removal facilitated the update. Thank you, and I would be curious to learn if anyone else has run across this.
In any case, I will mark this 'solved'.
Last edited by grobber (2025-04-30 21:16:27)
Offline
Those errors are when you're trying to do a partial update. Be grateful it stopped you, you would have broken a whole lot of things if it went through.
Offline
The Arch repo packages have already been rebuilt against the new library:
emacs: https://gitlab.archlinux.org/archlinux/ … ffcf01f5f0
libarchive: https://gitlab.archlinux.org/archlinux/ … 753e5dfed9
openconnect: https://gitlab.archlinux.org/archlinux/ … 8a7d6dc612
Either you are performing partial updates, or you're using an out-of-sync mirror.
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you all; simply removing rest did it (please see my edited response above). Marking this 'solved'.
Offline
[Deleted]
Last edited by renegat (2025-05-01 12:26:48)
Offline
Had the same problem re 'rest', but have no idea where it is or how to remove it (not found by searching for installed packages). Thanks for help.
Later added: I entered "sudo pacman -R rest", and voila, "rest" was found - and deleted. The update then went like a charm. Thanks to those who helped with this one.
Last edited by rodwal (2025-05-01 21:17:20)
Offline
I had the same problem which is weird. I have my aur packages in a seperate repo but `rest` was listed as a local package and I couldn't see what depended on it. I'm glad the problem was resolved by simply removing it.
Offline
https://gitlab.gnome.org/GNOME/librest had at some point been installed as dependency for something but is no longer in the repos since 2+ years and no longer a dependency for anything.
(But still on my system, so thanks everyone for running into this so I won't )
Offline
I've the same error (https://bbs.archlinux.org/viewtopic.php?id=305310) and I'm not sure what to do ...
Can someone explain it me?
Offline
I initially wrote the other packages seem to have the same dependency, but after removing rest (I do not recall installing it) the update went through fine.
I have very few AUR installs (always manual), and they are clearly named in a repos folder. rest is not among them and I have no idea how it got on here. In any event, its removal facilitated the update. Thank you, and I would be curious to learn if anyone else has run across this.
Before I uninstalled the "rest" package, I captured what "pacman -Qi rest" reported on it:
Command: pacman -Qi rest
Name : rest
Version : 0.8.1+r4+ge5ee6ef-1
Description : Library for accessing RESTful web services (legacy)
Architecture : x86_64
URL : https://gitlab.gnome.org/GNOME/librest
Licenses : LGPL2.1
Groups : None
Provides : librest-0.7.so=0-64 librest-extras-0.7.so=0-64
Depends On : glib2 libxml2 libsoup libglib-2.0.so=0-64 libgobject-2.0.so=0-64 libgio-2.0.so=0-64 libxml2.so=2-64 libsoup-2.4.so=1-64 libsoup-gnome-2.4.so=1-64
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 854.81 KiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Mon 17 Jan 2022 22:11:28 CET
Install Date : Tue 18 Jan 2022 08:29:13 CET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
This identifies "rest" as an Arch Linux package from Arch Linux Upstream. Apparently the package has been installed from the Arch Linux Repos as a dependency.
The package is relatively old (from Jan 2022). Nowadays, "pacman -Si rest" indeed results in:
Command: pacman -Si rest
error: package 'rest' was not found
There are multiple packages for "rest" present in my "/var/cache/pacman/pkg/" folder:
-rw-r--r-- 1 root root 89144 Aug 16 2017 /var/cache/pacman/pkg/rest-0.8.1-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root 98471 May 7 2020 /var/cache/pacman/pkg/rest-0.8.1-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 98532 May 7 2020 /var/cache/pacman/pkg/rest-0.8.1-3-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 98368 Jan 17 2022 /var/cache/pacman/pkg/rest-0.8.1+r4+ge5ee6ef-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jan 17 2022 /var/cache/pacman/pkg/rest-0.8.1+r4+ge5ee6ef-1-x86_64.pkg.tar.zst.sig
So I conclude that the "rest" package has been dropped from the Arch Linux repos at some point, after the dependencies on it have been released.
I do not know a way to diagnose which other package pulled it in, though.
Offline
grobber wrote:I initially wrote the other packages seem to have the same dependency, but after removing rest (I do not recall installing it) the update went through fine.
I have very few AUR installs (always manual), and they are clearly named in a repos folder. rest is not among them and I have no idea how it got on here. In any event, its removal facilitated the update. Thank you, and I would be curious to learn if anyone else has run across this.
Before I uninstalled the "rest" package, I captured what "pacman -Qi rest" reported on it:
Command: pacman -Qi rest Name : rest Version : 0.8.1+r4+ge5ee6ef-1 Description : Library for accessing RESTful web services (legacy) Architecture : x86_64 URL : https://gitlab.gnome.org/GNOME/librest Licenses : LGPL2.1 Groups : None Provides : librest-0.7.so=0-64 librest-extras-0.7.so=0-64 Depends On : glib2 libxml2 libsoup libglib-2.0.so=0-64 libgobject-2.0.so=0-64 libgio-2.0.so=0-64 libxml2.so=2-64 libsoup-2.4.so=1-64 libsoup-gnome-2.4.so=1-64 Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 854.81 KiB Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org> Build Date : Mon 17 Jan 2022 22:11:28 CET Install Date : Tue 18 Jan 2022 08:29:13 CET Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature
This identifies "rest" as an Arch Linux package from Arch Linux Upstream. Apparently the package has been installed from the Arch Linux Repos as a dependency.
The package is relatively old (from Jan 2022). Nowadays, "pacman -Si rest" indeed results in:
Command: pacman -Si rest error: package 'rest' was not found
There are multiple packages for "rest" present in my "/var/cache/pacman/pkg/" folder:
-rw-r--r-- 1 root root 89144 Aug 16 2017 /var/cache/pacman/pkg/rest-0.8.1-1-x86_64.pkg.tar.xz -rw-r--r-- 1 root root 98471 May 7 2020 /var/cache/pacman/pkg/rest-0.8.1-2-x86_64.pkg.tar.zst -rw-r--r-- 1 root root 98532 May 7 2020 /var/cache/pacman/pkg/rest-0.8.1-3-x86_64.pkg.tar.zst -rw-r--r-- 1 root root 98368 Jan 17 2022 /var/cache/pacman/pkg/rest-0.8.1+r4+ge5ee6ef-1-x86_64.pkg.tar.zst -rw-r--r-- 1 root root 141 Jan 17 2022 /var/cache/pacman/pkg/rest-0.8.1+r4+ge5ee6ef-1-x86_64.pkg.tar.zst.sig
So I conclude that the "rest" package has been dropped from the Arch Linux repos at some point, after the dependencies on it have been released.
I do not know a way to diagnose which other package pulled it in, though.
@friedrichr:
Did I understand it correct that I only have to remove the package 'rest'?
Offline
@friedrichr:
Did I understand it correct that I only have to remove the package 'rest'?
For me, yes.
If it is the same for you depends on whether you have or have not other packages installed which depend on "libxml2.so=2-64", and cannot be updated to use "libxml2.so=16-64" instead.
@grobber reported such for "emacs", "libarchive" and "openconnect". However, according to @WorMzy, these upstream packages already are updated in this respect, such that they depend on "libxml2.so=16-64" now. So, when you do "pacman -Syu", these packages should not yield the error discussed in this thread.
Does this sort the problem for you?
Offline
Had the same problem re 'rest', but have no idea where it is or how to remove it (not found by searching for installed packages). Thanks for help.
Later added: I entered "sudo pacman -R rest", and voila, "rest" was found - and deleted. The update then went like a charm. Thanks to those who helped with this one.
this worked for me - thanks
Offline