Pacman dependency error

pacman giving error while updating

error: failed to prepare transaction (could not satisfy dependencies)
:: installing kpeople5 (5.111.0-1) breaks dependency 'kpeople' required by kpeoplevcard
:: installing kcontacts5 (5.111.0-1) breaks dependency 'kcontacts' required by kpeoplevcard
:: installing kxmlgui5 (5.111.0-1) breaks dependency 'kxmlgui' required by libkipi
:: installing kservice5 (5.111.0-1) breaks dependency 'kservice' required by libkipi

I even try to download individually by doing

sudo pacman -Sdw 

but it’s the same thing

error: failed to prepare transaction (could not satisfy dependencies)
:: installing kcoreaddons5 (5.111.0-1) breaks dependency 'kcoreaddons' required by kpmcore
:: installing kwidgetsaddons5 (5.111.0-1) breaks dependency 'kwidgetsaddons' required by kpmcore
:: installing kauth5 (5.111.0-1) breaks dependency 'kauth' required by manjaro-settings-manager
:: installing kcoreaddons5 (5.111.0-1) breaks dependency 'kcoreaddons' required by manjaro-settings-manager
:: installing kauth5 (5.111.0-1) breaks dependency 'kauth' required by systemd-kcm
:: installing kcoreaddons5 (5.111.0-1) breaks dependency 'kcoreaddons' required by systemd-kcm
:: installing kwidgetsaddons5 (5.111.0-1) breaks dependency 'kwidgetsaddons' required by systemd-kcm

post the full output of what you are trying to do, not just a few lines, if you can’t decipher it yourself
You probably have installed some AUR package which is getting in your way now.
Deinstall it, do the update, then check whether you even need it anymore.

sudo pacman -Syudw                                                                                                         ✔  10s  
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace kirigami-addons with extra/kirigami-addons5? [Y/n] y
warning: kpeoplevcard: local (0.1+r38.32d50a9-1) is newer than extra (0.1-2)
resolving dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing kpeople5 (5.111.0-1) breaks dependency 'kpeople' required by kpeoplevcard
:: installing kcontacts5 (5.111.0-1) breaks dependency 'kcontacts' required by kpeoplevcard
:: installing kxmlgui5 (5.111.0-1) breaks dependency 'kxmlgui' required by libkipi
:: installing kservice5 (5.111.0-1) breaks dependency 'kservice' required by libkipi

I only have SVP (Smooth Video Project), MPV media player & libplacebo-git from AUR

Try either of these:

sudo pacman -Syu kpeoplevcard

… or, if that doesn’t work, this:

sudo pacman -Syuu
1 Like

both didn’t work

Remove any custom packages build from AUR scripts.

  1. Save a list of custom packages
     pacman -Qqem > custom-pkg.txt
    
  2. Remove them
     sudo pacman -R $(pacman -Qqem)
    
  3. Run a full system sync - assuming your mirror is in-sync with the mother ship
     sudo pacman -Syu
    
  4. Rebuild your custom packages (append --no-confirm if you want to skip prompts)
     pamac build $(cat custom-pkg.txt)
    
2 Likes

this command gave an error

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libplacebo-git breaks dependency 'libplacebo' required by vlc

You have - obviously - a system which depends a lot on custom packages.

This is entirely unsupported.

In your case you will have to remove vlc as well - reinstall vlc after the update.

1 Like
sudo pacman -Rdd systemd-kcm manjaro-settings-manager kpmcore libkipi && sudo pacman -Syuu && sudo pacman -S systemd-kcm manjaro-settings-manager kpmcore libkipi
1 Like

Oh Thank you! but what does these package do, I thought manjaro-settings-manager is important

It is — sort of — but the command I gave you reinstalls it after updating your system. :wink:

Thank you so much hope you a great rest of your day

1 Like

I wonder if they might be better off removing libkipi altogether (and kipi-plugins, if also installed). libkipi does not appear to be in the Manjaro repo, and seems only available via the AUR, where the comments suggest it is “defunct, deprecated, and not used by any application.”

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.