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

Arch Linux

7750 readers
2 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?

you are viewing a single comment's thread
view the rest of the comments
[–] 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)

[–] BuckWylde@lemmy.world 1 points 1 year ago

Wow, 2GB for me. Good tip!

[–] 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.

[–] 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