(Solved) Pacman can't update because of the conflict

I got this error when I run pacman -Syu this morning:

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing kio5 (5.111.0-1) breaks dependency 'kio' required by kipi-plugins
:: installing kxmlgui5 (5.111.0-1) breaks dependency 'kxmlgui' required by libkipi
:: installing kservice5 (5.111.0-1) breaks dependency 'kservice' required by libkipi
:: installing kcoreaddons5 (5.111.0-1) breaks dependency 'kcoreaddons' required by libmediawiki-git

I think it's not my fault. Should I wait or find a solution myself?

13 points · 8 comments · view on lemmy.world

8 Comments

Strit@lemmy.linuxuserspace.show · 14 pts · 2y (6 replies)

Remove the AUR package(s) and try again.

libkipi, kipi-plugins and libmediawiki-git are AUR packages.

Malix@sopuli.xyz · 9 pts · 2y (3 replies)

huh, turns out these moved to aur ages ago, as apps like gwenview and spectacle stopped using these. So "older" KDE/Plasma installations might have these unnescessary packages still laying about.

Thanks for the heads up!

dack@lemmy.world · 4 pts · 2y (2 replies)

Removing orphaned dependencies every once in a while is a good idea. If these were installed as dependencies and are not dependencies anymore, this would get rid of them.

https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)

Malix@sopuli.xyz · 1 pts · 2y

oh wow, my system had accumulated ~4GB worth of orphaned stuff.

And as a sidenote: https://aur.archlinux.org/packages/pacman-log-orphans-hook - adds a pacman hook to notify the user if there are orphaned packages after an update.

BuckWylde@lemmy.world · 1 pts · 2y

Wow, 2GB for me. Good tip!

sandayle@iusearchlinux.fyi · 4 pts · 2y

It worked, thank you.

exu@feditown.com · 1 pts · 2y

Alternatively, reinstall them and fix the PKGBUILD dependencies

xhenon@lemmy.world · 2 pts · 2y

By the message, seems there is not dependencies satisfied in the repositories but I'm not totally sure.

Try later and maybe it will be solved