error: failed to prepare transaction (could not satisfy dependencies)

Hi everybody,

I experienced problems when I wanted to update as below.
Please help because I’m still a beginner.

sudo pacman -Syu                                                                             1 ✘ 
[sudo] password for ghuroba-studio: 
:: 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 appstream-qt with extra/appstream-qt5? [Y/n] y
:: Replace attica with extra/attica5? [Y/n] y
:: Replace baloo with extra/baloo5? [Y/n] y
:: Replace bluez-qt with extra/bluez-qt5? [Y/n] y
:: Replace frameworkintegration with extra/frameworkintegration5? [Y/n] y
:: Replace kactivities with extra/kactivities5? [Y/n] y
:: Replace kactivities-stats with extra/kactivities-stats5? [Y/n] y
:: Replace karchive with extra/karchive5? [Y/n] y
:: Replace kauth with extra/kauth5? [Y/n] y
:: Replace kbookmarks with extra/kbookmarks5? [Y/n] y
:: Replace kcmutils with extra/kcmutils5? [Y/n] y
:: Replace kcodecs with extra/kcodecs5? [Y/n] y
:: Replace kcompletion with extra/kcompletion5? [Y/n] y
:: Replace kconfig with extra/kconfig5? [Y/n] y
:: Replace kconfigwidgets with extra/kconfigwidgets5? [Y/n] y
:: Replace kcontacts with extra/kcontacts5? [Y/n] y
:: Replace kcoreaddons with extra/kcoreaddons5? [Y/n] y
:: Replace kcrash with extra/kcrash5? [Y/n] y
:: Replace kdbusaddons with extra/kdbusaddons5? [Y/n] y
:: Replace kdeclarative with extra/kdeclarative5? [Y/n] y
:: Replace kded with extra/kded5? [Y/n] y
:: Replace kdesu with extra/kdesu5? [Y/n] y
:: Replace kdnssd with extra/kdnssd5? [Y/n] y
:: Replace kdoctools with extra/kdoctools5? [Y/n] y
:: Replace kdsoap with extra/kdsoap-qt5? [Y/n] y
:: Replace kfilemetadata with extra/kfilemetadata5? [Y/n] y
:: Replace kglobalaccel with extra/kglobalaccel5? [Y/n] y
:: Replace kguiaddons with extra/kguiaddons5? [Y/n] y
:: Replace kholidays with extra/kholidays5? [Y/n] y
:: Replace ki18n with extra/ki18n5? [Y/n] y
:: Replace kiconthemes with extra/kiconthemes5? [Y/n] y
:: Replace kidletime with extra/kidletime5? [Y/n] y
:: Replace kimageformats with extra/kimageformats5? [Y/n] y
:: Replace kio with extra/kio5? [Y/n] y
:: Replace kirigami-addons with extra/kirigami-addons5? [Y/n] y
:: Replace kitemmodels with extra/kitemmodels5? [Y/n] y
:: Replace kitemviews with extra/kitemviews5? [Y/n] y 
:: Replace kjobwidgets with extra/kjobwidgets5? [Y/n] y
:: Replace knewstuff with extra/knewstuff5? [Y/n] y
:: Replace knotifications with extra/knotifications5? [Y/n] y
:: Replace knotifyconfig with extra/knotifyconfig5? [Y/n] y
:: Replace kpackage with extra/kpackage5? [Y/n] y
:: Replace kparts with extra/kparts5? [Y/n] y
:: Replace kpeople with extra/kpeople5? [Y/n] y
warning: kpeoplevcard: local (0.1+r38.32d50a9-1) is newer than extra (0.1-2)
:: Replace kpty with extra/kpty5? [Y/n] y
:: Replace kquickcharts with extra/kquickcharts5? [Y/n] n
:: Replace krunner with extra/krunner5? [Y/n] n
:: Replace kservice with extra/kservice5? [Y/n] n
:: Replace ktexteditor with extra/ktexteditor5? [Y/n] n
:: Replace ktextwidgets with extra/ktextwidgets5? [Y/n] n
:: Replace kunitconversion with extra/kunitconversion5? [Y/n] n
:: Replace kuserfeedback with extra/kuserfeedback5? [Y/n] n
:: Replace kwallet with extra/kwallet5? [Y/n] n
:: Replace kwayland with extra/kwayland5? [Y/n] n
:: Replace kwidgetsaddons with extra/kwidgetsaddons5? [Y/n] n
:: Replace kwindowsystem with extra/kwindowsystem5? [Y/n] n
:: Replace kxmlgui with extra/kxmlgui5? [Y/n] n
:: Replace libkdcraw with extra/libkdcraw5? [Y/n] n
:: Replace libqaccessibilityclient with extra/libqaccessibilityclient-qt5? [Y/n] n
:: Replace modemmanager-qt with extra/modemmanager-qt5? [Y/n] n
:: Replace networkmanager-qt with extra/networkmanager-qt5? [Y/n] n
:: Replace plasma-framework with extra/plasma-framework5? [Y/n] n
:: Replace prison with extra/prison5? [Y/n] n
:: Replace purpose with extra/purpose5? [Y/n] n
:: Replace qqc2-desktop-style with extra/qqc2-desktop-style5? [Y/n] n
:: Replace solid with extra/solid5? [Y/n] n
:: Replace sonnet with extra/sonnet5? [Y/n] n
:: Replace syndication with extra/syndication5? [Y/n] n
:: Replace syntax-highlighting with extra/syntax-highlighting5? [Y/n] n
:: Replace threadweaver with extra/threadweaver5? [Y/n] n
resolving dependencies...
n
looking for conflicting packages...
:: solid5 and solid are in conflict. Remove solid? [y/N] y
:: kwidgetsaddons5 and kwidgetsaddons are in conflict. Remove kwidgetsaddons? [y/N] y
:: kxmlgui5 and kxmlgui are in conflict. Remove kxmlgui? [y/N] y
:: kwindowsystem5 and kwindowsystem are in conflict. Remove kwindowsystem? [y/N] y
:: kwallet5 and kwallet are in conflict. Remove kwallet? [y/N] y
:: kservice5 and kservice are in conflict. Remove kservice? [y/N] y
:: ktextwidgets5 and ktextwidgets are in conflict. Remove ktextwidgets? [y/N] y
:: sonnet5 and sonnet are in conflict. Remove sonnet? [y/N] y
:: syndication5 and syndication are in conflict. Remove syndication? [y/N] y
:: syntax-highlighting5 and syntax-highlighting are in conflict. Remove syntax-highlighting? [y/N] y
:: kuserfeedback5 and kuserfeedback are in conflict. Remove kuserfeedback? [y/N] y
:: qqc2-desktop-style5 and qqc2-desktop-style are in conflict. Remove qqc2-desktop-style? [y/N] y
:: kquickcharts5 and kquickcharts are in conflict. Remove kquickcharts? [y/N] y
:: libkdcraw5 and libkdcraw are in conflict. Remove libkdcraw? [y/N] y
:: purpose5 and purpose are in conflict. Remove purpose? [y/N] y
:: ktexteditor5 and ktexteditor are in conflict. Remove ktexteditor? [y/N] y
:: modemmanager-qt5 and modemmanager-qt are in conflict. Remove modemmanager-qt? [y/N] y
:: kunitconversion5 and kunitconversion are in conflict. Remove kunitconversion? [y/N] y
:: krunner5 and krunner are in conflict. Remove krunner? [y/N] y
:: plasma-framework5 and plasma-framework are in conflict. Remove plasma-framework? [y/N] y
:: kwayland5 and kwayland are in conflict. Remove kwayland? [y/N] y
:: threadweaver5 and threadweaver are in conflict. Remove threadweaver? [y/N] y
:: prison5 and prison are in conflict. Remove prison? [y/N] y
:: networkmanager-qt5 and networkmanager-qt are in conflict. Remove networkmanager-qt? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kpeople breaks dependency 'kpeople' required by kpeoplevcard
:: removing kcontacts breaks dependency 'kcontacts' required by kpeoplevcard

Hullo,

This is a known issue mentioned in the update announcements thread.

sudo pacman -Syuu

1 Like

Hello,

Thanks for your help, but now I found another error.
What’s the solution?

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst failed to download
 Total (  1/841)                         2.3 GiB  11.7 MiB/s 03:26 [####################################] 100%
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from mirrors.xtom.jp : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from mirror.freedif.org : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from ftpmirror1.infania.net : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from southfront.mm.fcix.net : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from manjaro.ynh.ovh : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from mirror.archlinux.tw : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'onlyoffice-desktopeditors-7.5.1-1-x86_64.pkg.tar.zst' from repo.ialab.dsu.edu : Resolving timed out after 10000 milliseconds
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

I would guess its your mirrors, or if not then your network.
It seems most of those mirrors are/were out of date … but at least a few are current now.
https://repo.manjaro.org/

You can sort again;

sudo pacman-mirrors -f

Or you can try geoip;

sudo pacman-mirrors -g

Or you can even reset the whole mirror list:

sudo pacman-mirrors -c all

I dont think any of those should be required now … but you can use them if you like.
Then we still want the same:

sudo pacman -Syuu

Hello. I’m having the same issue, but I can’t solve it.
Using sudo pacman -Syu kpeoplevcard leads me to the issue highlighted in this topic, which then leads me back to the error: failed to prepare transaction issue if I manually update glibc-locales with sudo pacman -Syu glibc-locales --overwrite /usr/lib/locale/\*/\*. Any hints? Thanks.

sudo pacman -Syuu glibc-locales --overwrite /usr/lib/locale/\*/\*

Yep, I’ve tried that, but it didn’t work. In the end I had to do this.

Well, it was at best a guess since no real output was shared. :person_shrugging: