Kmail dependency problem

Hi Everyone,

Hope you’re all having a great day ^^

Since plasma 6.2.1 i cannot update my KDE-neon laptops anymore.
Discover tells me a plasma5 pim-akonadi library tries to overwrite a plasma6 library:

Package failed to install:
Error while installing package: trying to overwrite /usr/share/akonadi/plugins/serializer/akonadi_serializer_mail.desktop, which is also in package kpim6-akonadi-mime

i’ve tried to fix it with sudo apt install --fix-broken

which says :

(Reading database ... 438953 files and directories currently installed.)
Preparing to unpack .../libkpim5akonadimime-data_4%3a23.08.5-0ubuntu3_all.deb ...
Unpacking libkpim5akonadimime-data (4:23.08.5-0ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libkpim5akonadimime-data_4%3a23.08.5-0ubuntu3_all.deb (--unpack):
 trying to overwrite '/usr/share/akonadi/plugins/serializer/akonadi_serializer_mail.desktop', which is also in package kpim6-akonadi-mime 4:24.08.2-0zneon+24.04+noble+release+build7
Preparing to unpack .../libkpim5akonadisearch-data_4%3a23.08.5-0ubuntu3_all.deb ...
Unpacking libkpim5akonadisearch-data (4:23.08.5-0ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libkpim5akonadisearch-data_4%3a23.08.5-0ubuntu3_all.deb (--unpack):
 trying to overwrite '/usr/share/locale/ar/LC_MESSAGES/akonadi_search.mo', which is also in package kpim6-akonadi-search 4:24.08.2-0zneon+24.04+noble+release+build7
Preparing to unpack .../libkpim5libkleo-data_4%3a23.08.5-0ubuntu3_all.deb ...
Unpacking libkpim5libkleo-data (4:23.08.5-0ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libkpim5libkleo-data_4%3a23.08.5-0ubuntu3_all.deb (--unpack):
 trying to overwrite '/etc/xdg/libkleopatrarc', which is also in package kpim6-libkleo:amd64 4:24.08.2-0zneon+24.04+noble+release+build9
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libkpim5mailtransport-data_23.08.5-0ubuntu3_all.deb ...
Unpacking libkpim5mailtransport-data (23.08.5-0ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libkpim5mailtransport-data_23.08.5-0ubuntu3_all.deb (--unpack):
 trying to overwrite '/usr/share/config.kcfg/mailtransport.kcfg', which is also in package kpim6-kmailtransport 24.08.2-0zneon+24.04+noble+release+build8
Errors were encountered while processing:
 /var/cache/apt/archives/libkpim5akonadimime-data_4%3a23.08.5-0ubuntu3_all.deb
 /var/cache/apt/archives/libkpim5akonadisearch-data_4%3a23.08.5-0ubuntu3_all.deb
 /var/cache/apt/archives/libkpim5libkleo-data_4%3a23.08.5-0ubuntu3_all.deb
 /var/cache/apt/archives/libkpim5mailtransport-data_23.08.5-0ubuntu3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

and no more success with dpkg --configure -a

I don’t know why i still have plasma5 libraries installed, i thought they would have been replaced and removed already

I’ve made a bug report for akonadi, to which i’ve been told

This version is not supported anymore, please report your installation issue to your distribution

which i’ve done on KDE bug (id: 495183)
Mean while, i cannot update to plasma6.2.2

So, i wondered if some of you guys would know how to manually fix that ?
or if i should just wait for the bug fix ?
The problem occurs on my 2 laptops running KDE-neon… So i guess I’m probably not the only one encountering that problem.

A Huge thanks in advance for your help :slight_smile:

2 Likes

I can confirm the same issue on 2 computers I have checked. I am hoping it gets fixed in the distribution.

Same problem for me. Bug 495253.

The problem got fixed in one of last updates (see bug 495253)

I had some issues with the upgrade
I initially did it via discover but rebooted to a blank screen. I switched to a virtual terminal to diagnose Ctrl-Alt-F3 and “journalctl -b”. Search for sddm and found a stack trace showing incomparable qt libs. “pkcon update” did not work but “pkcon repair” did work after an “apt update”. After that “pkcon update” did work and after /sbin/reboot it is all working on 6.2.2.