this post was submitted on 20 Oct 2023
13 points (93.3% liked)

Arch Linux

7175 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?

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 10 months ago* (last edited 10 months ago) (3 children)

Remove the AUR package(s) and try again.

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

[–] [email protected] 9 points 10 months 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 4 points 10 months 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 1 points 10 months ago

Wow, 2GB for me. Good tip!

[–] [email protected] 1 points 10 months 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.

[–] [email protected] 4 points 10 months ago

It worked, thank you.

[–] [email protected] 1 points 10 months ago

Alternatively, reinstall them and fix the PKGBUILD dependencies

[–] xhenon 2 points 10 months 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