Artix Linux Forum

Artix Linux => Package management => Topic started by: protoshop on 04 May 2025, 09:32:44

Title: Broken dependency during upgrade, since 05-02-2025.
Post by: protoshop on 04 May 2025, 09:32:44
05-02-2025
____________

# pacman -Syu
:: Synchronizing package databases...
 system                257.1 KiB   153 KiB/s 00:02 [######################] 100%
 world                   5.1 MiB   812 KiB/s 00:06 [######################] 100%
 galaxy                859.5 KiB   869 KiB/s 00:01 [######################] 100%
 lib32                 175.4 KiB   367 KiB/s 00:00 [######################] 100%
 extra                   7.8 MiB   617 KiB/s 00:13 [######################] 100%
 multilib              134.5 KiB   240 KiB/s 00:01 [######################] 100%
 universe is up to date
:: Starting full system upgrade...
warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)
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 rest

*    *    *

The same error continues.

All suggestions and fixes welcome, including advice re if this file is even necessary?
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: Ambie on 04 May 2025, 09:45:27
:: installing libxml2 (2.14.2-2) breaks dependency 'libxml2.so=2-64' required by rest
I didn't find package called rest in artix' and arch's repos and even in AUR. If you don't need it then uninstall it. I you need it then ask its maintainer wherever you got it from to update it or rebuild it yourself.
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: ####### on 04 May 2025, 13:01:44
I think it's probably an old package that has been discontinued because whatever depended on it no longer needs it. When I got this error I ran pacman -Rs rest and when I saw there were no error messages from that about broken dependencies, I went ahead and confirmed the removal, which let the update proceed, and AFAICT things are still working ok ....  8)

https://archive.org/details/archlinux_pkg_rest (https://archive.org/details/archlinux_pkg_rest)
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: corysanin on 04 May 2025, 19:22:10
I too have removed it from my system without issue. Since nobody seems to be reporting any problems with doing so, I'm going to say removing rest is the solution. Marking as solved.
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: mrbrklyn on 04 May 2025, 20:51:36
https://aur.archlinux.org/packages/rest-server-bin

https://linuxconfig.org/how-install-and-configure-a-restic-rest-server-on-linux

https://restic.readthedocs.io/en/latest/010_introduction.html
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: roland on 27 May 2025, 15:06:39
I entered "sudo pacman -R rest", and voila, "rest" was found - and deleted. The update then went like a charm.
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: mrbrklyn on 28 May 2025, 02:43:08
the real question is why was rest installed in the first place?  I never installed it... and yet there it was.
Title: Re: Broken dependency during upgrade, since 05-02-2025.
Post by: corysanin on 28 May 2025, 03:25:37
It used to be required by gtk3 and gtk4, so that's probably where we got it from.