this post was submitted on 20 Oct 2023
15 points (94.1% liked)

Arch Linux

7725 readers
11 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

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?

top 8 comments
sorted by: hot top controversial new old
[–] Strit@lemmy.linuxuserspace.show 17 points 1 year ago* (last edited 1 year ago) (3 children)

Remove the AUR package(s) and try again.

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

[–] Malix@sopuli.xyz 12 points 1 year ago (1 children)

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 points 1 year ago (2 children)

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 points 1 year ago

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 points 1 year ago

Wow, 2GB for me. Good tip!

[–] sandayle@iusearchlinux.fyi 6 points 1 year ago

It worked, thank you.

[–] exu@feditown.com 3 points 1 year ago

Alternatively, reinstall them and fix the PKGBUILD dependencies

[–] xhenon@lemmy.world 2 points 1 year ago

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