Conflicting Dependencies

I am trying to upgrade my manjaro because I cannot run Virtual box on this currently no matter what I install, but I am having an issue with conflicting dependencies.

Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Synchronizing package databases...
Cloning google-chrome build files...
Running as unit: run-u212.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 7ms
CPU time consumed: 7ms
Running as unit: run-u213.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 26ms
CPU time consumed: 25ms
Running as unit: run-u214.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.704s
CPU time consumed: 133ms
Generating google-chrome information...
Running as unit: run-u215.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.005s
CPU time consumed: 1.130s
Checking google-chrome dependencies...
Warning: kpeoplevcard: local (0.1+r38.32d50a9-1) is newer than extra (0.1-2)
Resolving dependencies...
Checking inter-conflicts...
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



Edit build files : [e] 
Apply transaction ? [e/y/N] y

Transaction cancelled.
    ~  sudo pacman -Sy jdk-openjdk                               1 ✘  1m 13s  
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (4) java-environment-common-3-5  java-runtime-common-3-5  libnet-2:1.3-1
             jdk-openjdk-21.u35-8

Total Download Size:    457.75 MiB
Total Installed Size:  1137.95 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 jdk-openjdk-21.u3...   457.5 MiB  5.49 MiB/s 01:23 [###########################] 100%
 libnet-2:1.3-1-x86_64  295.0 KiB  1229 KiB/s 00:00 [###########################] 100%
 java-runtime-comm...     5.0 KiB  24.1 KiB/s 00:00 [###########################] 100%
 java-environment-...     2.6 KiB  11.7 KiB/s 00:00 [###########################] 100%
 Total (4/4)            457.8 MiB  5.41 MiB/s 01:25 [###########################] 100%
(4/4) checking keys in keyring                      [###########################] 100%
(4/4) checking package integrity                    [###########################] 100%
(4/4) loading package files                         [###########################] 100%
(4/4) checking for file conflicts                   [###########################] 100%
(4/4) checking available disk space                 [###########################] 100%
:: Processing package changes...
(1/4) installing java-runtime-common                [###########################] 100%
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile.d/jre.sh
Please note that this package does not support forcing JAVA_HOME as former package java-common did
(2/4) installing libnet                             [###########################] 100%
(3/4) installing java-environment-common            [###########################] 100%
(4/4) installing jdk-openjdk                        [###########################] 100%
Optional dependencies for jdk-openjdk
    java-rhino: for some JavaScript support
    alsa-lib: for basic sound support [installed]
    gtk2: for the Gtk+ 2 look and feel - desktop usage
    gtk3: for the Gtk+ 3 look and feel - desktop usage [installed]
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Refreshing PackageKit...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
    ~  sudo pacman -Syu                                            ✔  1m 36s  
:: 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 kgamma5 with extra/kgamma? [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] y
:: Replace krunner with extra/krunner5? [Y/n] y
:: Replace kservice with extra/kservice5? [Y/n] y
:: Replace ktexteditor with extra/ktexteditor5? [Y/n] y
:: Replace ktextwidgets with extra/ktextwidgets5? [Y/n] y
:: Replace kunitconversion with extra/kunitconversion5? [Y/n] y
:: Replace kuserfeedback with extra/kuserfeedback5? [Y/n] y
:: Replace kwallet with extra/kwallet5? [Y/n] y
:: Replace kwayland with extra/kwayland5? [Y/n] y
:: Replace kwidgetsaddons with extra/kwidgetsaddons5? [Y/n] y
:: Replace kwindowsystem with extra/kwindowsystem5? [Y/n] y
:: Replace kxmlgui with extra/kxmlgui5? [Y/n] y
y
:: Replace libkcddb with extra/libkcddb5? [Y/n] y
:: Replace libkdcraw with extra/libkdcraw5? [Y/n] y
:: Replace libqaccessibilityclient with extra/libqaccessibilityclient-qt5? [Y/n] y
y:: Replace modemmanager-qt with extra/modemmanager-qt5? [Y/n] 
:: Replace networkmanager-qt with extra/networkmanager-qt5? [Y/n] y
:: Replace plasma-framework with extra/plasma-framework5? [Y/n] y
:: Replace prison with extra/prison5? [Y/n] y
:: Replace purpose with extra/purpose5? [Y/n] y
:: Replace qqc2-desktop-style with extra/qqc2-desktop-style5? [Y/n] y
:: Replace solid with extra/solid5? [Y/n] y
:: Replace sonnet with extra/sonnet5? [Y/n] y
:: Replace syndication with extra/syndication5? [Y/n] y
:: Replace syntax-highlighting with extra/syntax-highlighting5? [Y/n] y
:: Replace threadweaver with extra/threadweaver5? [Y/n] y
resolving dependencies...
looking for conflicting packages...
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
    ~  pamac install jdk-openjdk --no-upgrade; pamac update --no-aur
Preparing...
Warning: jdk-openjdk-21.u35-8 is up to date -- skipping
Nothing to do.
Transaction successfully finished.
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: (batman)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Warning: kpeoplevcard: local (0.1+r38.32d50a9-1) is newer than extra (0.1-2)
Resolving dependencies...
Checking inter-conflicts...
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

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Try the search function. The kpeoplevcard question has already been asked ad nauseam. The solution is in the second post of the stable update thread. Manjaro is not Ubuntu. It is important to read update announcements for possible issues that may happen during updates and their solutions.

3 Likes

Welcome,
…so you have not read the update announcement? You should do so, most solutions to current problems are already pinned.

1 Like

Welcome to the forum! :vulcan_salute:

Being Arch-based and thus a rolling-release distribution, Manjaro must always be kept up to date. The issues you’re describing already date back to several Stable Updates ago, and as @Ben and @banjo said, were already addressed in the Stable Updates announcement threads, as well as in countless other threads on the forum, from other people who also didn’t read the Stable Updates announcement threads.

Furthermore, not only have you missed several updates — which could potentially lead to problems, such as when trying to install additional software (and especially so from the AUR) — but you also have not been maintaining your system, judging by… :point_down:

The community repo no longer exists. It was merged into the extra repo about 6 months ago. The fact that you still have it in your /etc/pacman.conf clearly points in the direction of not having merged your .pacnew files.

You can check how many of them you have on your system with… :point_down:

pacdiff -o

This then leads me to posit the question whether Manjaro would be the right distribution for you, and to direct you toward this short but explanatory essay below. Please read it, because from the looks of it, you would be better off with a point-release distribution than with a rolling-release distribution such as Manjaro.

:point_down:

4 Likes

Hi @mjumpman23

Once you have solved all the issues previously indicated in this thread – and there are many – this link will outline how to install VirtualBox on Manjaro.

Regarding upgrade difficulties; try this:

sudo pacman -Sy kpeoplevcard
# Choose `Y` (Yes) to remove any conflicting packages.
sudo pacman -Syu
# Choose `Y` (Yes) to rename or replace *every* package indicated.

Once updated, please heed the advice of @Aragorn regarding the .pacnew files, and read through the Stable Update announcements for important manual interventions you have failed to address.

Good luck.

1 Like

You have to downgrade the package

sudo pacman -Sy
sudo pacman -Suu kpeoplevcard