Bug 495183 - kmail package update error
Summary: kmail package update error
Status: RESOLVED DUPLICATE of bug 495253
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: 2024-10-22 12:42 UTC by julien_palmieri
Modified: 2024-10-29 11:34 UTC (History)
4 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 julien_palmieri 2024-10-22 12:42:59 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Running my update with Discover fails with this error : 
```
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 
```

STEPS TO REPRODUCE
1. refresh discover updates
2. update
3. 

OBSERVED RESULT
I've also tried to update manually and got this : 
```
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
  accounts-qml-module-doc kaccounts5-integration kde-config-mailtransport kdepim-runtime kf5-messagelib-data kio-ldap kmailtransport-akonadi libaccounts-qt5-1 libgrantlee-templates5 libkaccounts2 libkf5akonadisearch-plugins
  libkf5auth5 libkf5bluezqt-data libkf5bluezqt6 libkf5calendarcore5abi2 libkf5calendarutils-bin libkf5contacts-data libkf5contacts5 libkf5grantleetheme-plugins libkf5i18nlocaledata5 libkf5itemmodels5 libkf5kcmutils-data
  libkf5kcmutils5 libkf5kcmutilscore5 libkf5mailcommon-plugins libkf5newstuffwidgets5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5prison5 libkf5prisonscanner5 libkf5purpose-bin libkf5purpose5 libkf5runner5
  libkf5textaddonswidgets1 libkf5textautocorrectioncore1 libkf5textedittexttospeech1 libkf5textemoticonswidgets1 libkpim5akonadi-data libkpim5akonadiagentbase5 libkpim5akonadicore5 libkpim5akonadimime-bin libkpim5akonadimime-data
  libkpim5akonadimime5 libkpim5akonadinotes-data libkpim5akonadinotes5 libkpim5akonadiprivate5 libkpim5akonadisearch-data libkpim5akonadisearchcore5 libkpim5akonadisearchdebug5 libkpim5akonadisearchpim5 libkpim5akonadisearchxapian5
  libkpim5akonadiwidgets5 libkpim5calendarutils-data libkpim5calendarutils5 libkpim5grantleetheme-data libkpim5grantleetheme5 libkpim5gravatar-data libkpim5gravatar5 libkpim5identitymanagement-data libkpim5identitymanagement5
  libkpim5identitymanagementwidgets5 libkpim5imap-data libkpim5imap5 libkpim5kontactinterface-data libkpim5kontactinterface5 libkpim5ldap-data libkpim5ldap5 libkpim5libkdepim-data libkpim5libkdepim5 libkpim5libkleo-data
  libkpim5libkleo5 libkpim5mailimporter-data libkpim5mailimporter5 libkpim5mailimporterakonadi5 libkpim5mailtransport-data libkpim5mailtransport5 libkpim5mbox-data libkpim5mbox5 libkpim5messagecore5t64 libkpim5mime-data libkpim5mime5
  libkpim5mimetreeparser5t64 libkpim5pimcommon5 libkpim5templateparser5t64 libkpim5textedit-data libkpim5textedit5 libkpim5webengineviewer5t64 libphonon4qt5-4t64 libqca-qt5-2 libqca-qt5-2-plugins libqgpgme15t64 libsignon-qt5-1
  phonon4qt5 pulseaudio-module-gsettings qml-module-org-kde-bluezqt qml-module-org-kde-prison qml-module-sso-onlineaccounts qml-module-ubuntu-onlineaccounts signon-kwallet-extension
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libkpim5akonadimime-data libkpim5akonadisearch-data libkpim5libkleo-data libkpim5mailtransport-data
The following NEW packages will be installed:
  libkpim5akonadimime-data libkpim5akonadisearch-data libkpim5libkleo-data libkpim5mailtransport-data
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
98 not fully installed or removed.
Need to get 0 B/495 kB of archives.
After this operation, 3,742 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(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)
```

EXPECTED RESULT


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE-Neon 6.2
KDE Plasma Version:6.2.1 
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Wolfgang Baron 2024-10-26 05:45:39 UTC
I can confirm this on a Laptop and a Desktop (all Neon installations I currently have). I updated them from before Plasma 6.
Comment 2 julien_palmieri 2024-10-29 11:34:54 UTC

*** This bug has been marked as a duplicate of bug 495253 ***