Bug 469761 - Dependency problems on KDE Neon 5.27
Summary: Dependency problems on KDE Neon 5.27
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-14 18:29 UTC by niklas312
Modified: 2023-09-22 10:30 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description niklas312 2023-05-14 18:29:32 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When I updated my system using Discover to fix this bug https://bugs.kde.org/show_bug.cgi?id=469599 , it removed Kontact and KMail from my System. When I now try to install them again using pkcon install, I get this error:

The following packages have unmet dependencies:
  kdepim-runtime: Depends on: libqca-qt5-2 (>= 2.3.6) but 2.3.4-1build1 is to be installed


STEPS TO REPRODUCE
1.  Try to install Kontact on KDE Neon 5.27 using pkcon or some other package manager

OBSERVED RESULT
It fails to install because it's missing a dependency which is not available in the repos (I guess?).

EXPECTED RESULT
Kontact is installed correctly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.27
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
--
Comment 1 niklas312 2023-05-15 21:25:32 UTC
EDIT: This also happens for KDE Connect as it depends on the same library.
Comment 2 Carlos De Maine 2023-05-16 09:07:24 UTC
all libs/apps dependent on qca have been rebuilt.  you should be able to update now without problems.
Comment 3 niklas312 2023-05-16 11:41:37 UTC
(In reply to Carlos De Maine from comment #2)
> all libs/apps dependent on qca have been rebuilt.  you should be able to
> update now without problems.

Unfortunately, nothing has changed. I still get the same message when running 
sudo pkcon install kontact
Comment 4 niklas312 2023-05-16 11:57:05 UTC
Trying to install KMail itself displays even more dependency problems:

  libkf5messagecore5: Depends on: libgpgmepp6 (>= 1.20.0) but 1.16.0-1.2ubuntu4 is to be installed
                      Depends on: libqgpgme15 (>= 1.20.0) but it is not going to be installed
  kdepim-runtime: Depends on: libqca-qt5-2 (>= 2.3.6) but 2.3.4-1build1 is to be installed
  libkf5messageviewer5: Depends on: libgpgmepp6 (>= 1.20.0) but 1.16.0-1.2ubuntu4 is to be installed
                        Depends on: libqca-qt5-2 (>= 2.3.6) but 2.3.4-1build1 is to be installed
                        Depends on: libqgpgme15 (>= 1.20.0) but it is not going to be installed
  libkf5messagecomposer5: Depends on: libgpgmepp6 (>= 1.20.0) but 1.16.0-1.2ubuntu4 is to be installed
                          Depends on: libqgpgme15 (>= 1.20.0) but it is not going to be installed
Comment 5 Jonathan Riddell 2023-05-16 14:41:49 UTC
Try now, you might need to upgrade twice, the new neon-settings-2 will stop the pin that held back gpg
Comment 6 niklas312 2023-05-16 18:24:11 UTC
(In reply to Jonathan Riddell from comment #5)
> Try now, you might need to upgrade twice, the new neon-settings-2 will stop
> the pin that held back gpg

I installed updates through Discover (including the "neon-settings-2" you mentioned) and then tried it again, unfortunately, nothing has changed:
> The following packages have unmet dependencies:
>  kdepim-runtime: Depends on: libqca-qt5-2 (>= 2.3.6) but 2.3.4-1build1 is to be installed
Comment 7 niklas312 2023-06-09 21:07:24 UTC
The problem doesn't only effect this package. Recently, I noticed that running "sudo pkcon update" gives me a whole lot of dependency errors.
Schwerwiegender Fehler: The following packages have unmet dependencies:
  neon-desktop: Depends on: kde-cli-tools but it is not going to be installed
                Depends on:: kinfocenter but it is not going to be installed
                Depends on: kio but it is not going to be installed
                Depends on: kwin-wayland but it is not going to be installed
                Depends on: kwin-x11 but it is not going to be installed
                Depends on: sddm-theme-breeze but it is not going to be installed
                Recommends: dolphin but it is not going to be installed
                Recommends: dolphin-plugins but it is not going to be installed
                Recommends: frameworkintegration but it is not going to be installed
                Recommends: kde-config-plymouth but it is not going to be installed
                Recommends: konsole but it is not going to be installed
                Recommends: kscreen but it is not going to be installed
                Recommends: ksshaskpass but it is not going to be installed
                Recommends: kwin-addons but it is not going to be installed
                Recommends: kwrite but it is not going to be installed
                Recommends: okular but it is not going to be installed
                Recommends: plasma-discover but it is not going to be installed
                Recommends: plasma-nm but it is not going to be installed
                Recommends: plasma-systemmonitor but it is not going to be installed
                Recommends: plasma-welcome but it is not going to be installed
                Recommends: plasma-widgets-addons but it is not going to be installed
                Recommends: plasma-workspace-wayland but it is not going to be installed
  plasma-desktop: Depends on: kde-cli-tools (>= 4:5.14) but it is not going to be installed
                  Depends on: kio but it is not going to be installed
                  Depends on:plasma-workspace (>= 4:5.14) but it is not going to be installed
                  Depends on: libkf5newstuffcore5 but it is not going to be installed
                  Recommends: khelpcenter but it is not going to be installed
                  Recommends: kinfocenter (>= 4:5.14) but it is not going to be installed
                  Recommends: kscreen (>= 4:5.14) but it is not going to be installed
                  Recommends: ksshaskpass (>= 4:5.14) but it is not going to be installed
                  Recommends: kwin-x11 (>= 4:5.14) but it is not going to be installed or
                             kwin
                  Recommends: plasma-discover (>= 5.14) but it is not going to be installed

(translated from German)
Comment 8 Carlos De Maine 2023-06-10 09:18:20 UTC
from the command line in konsole please run these command s one after each other:
sudo apt update
sudo apt install neon-settings-2
sudo apt dist-upgrade
Comment 9 niklas312 2023-06-10 10:15:23 UTC
(In reply to Carlos De Maine from comment #8)
> from the command line in konsole please run these command s one after each
> other:
> sudo apt update
> sudo apt install neon-settings-2
> sudo apt dist-upgrade
Hi, thanks for your reply!

Running the command "sudo apt install neon-settings-2" shows that 
> "neon-settings-2 is already the newest version (0.4+p22.04+trelease+git20230524.1035)" 
(translated from German)

Running sudo apt dist-upgrade gives me the following:
> Starting pkgProblemResolver with broken count: 1%
> Starting 2 pkgProblemResolver with broken count: 1
> Investigating (0) libkf5wallet5:amd64 < 5.106.0-0xneon+22.04+jammy+release+build28 @ii mK Ib >
> Broken libkf5wallet5:amd64 Depends on libkf5wallet-data:amd64 < 5.106.0-0xneon+22.04+jammy+release+build28 ->  
> 5.106.0-0xneon+22.04+jammy+release+build29 @ii umU > (= 5.106.0-0xneon+22.04+jammy+release+build28)
>  Considering libkf5wallet-data:amd64 13 as a solution to libkf5wallet5:amd64 37
>  Added libkf5wallet-data:amd64 to the remove list
>  Fixing libkf5wallet5:amd64 via keep of libkf5wallet-data:amd64
>  Try to Re-Instate (0) libkf5wallet-data:amd64
> Done
> Package update (upgrade) is calculated... Done.
> The following packages were installed automatically and are no longer needed:
> (...)
> Use "sudo apt autoremove" to remove them.
> The following packages have been held back:
>   grub-common grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common libkf5wallet-data libkf5wallet5 libkwalletbackend5-5 libwayland-
> client0:i386 libwayland-server0:i386 plasma-nm rsync
> 0 updated, 0 reinstalled, 0 to remove and 12 not updated.
(again, translated from German)
Comment 10 Oded Arbel 2023-09-22 10:30:13 UTC
You should be able to use `apt install -f` to fix the broken dependencies on your system, and it it doesn't work - it will tell you what needs to be fixed, and it is likely about package versions that the Neon repository does not know about.

The current version of libqca in the Neon user repositories is 2.3.7, which should have solved the original reported issue.