Bug 496235 - Package "libkf5calendarcore5" failed to install
Summary: Package "libkf5calendarcore5" failed to install
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-13 21:20 UTC by dofficialgman
Modified: 2024-11-14 12:56 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dofficialgman 2024-11-13 21:20:24 UTC
SUMMARY
The system failed to update due to a new dependency that got automatically installed but cannot be configured due to conflicts. This is because of the `ktnef` package (from ubuntu) that depends on libkf5calendarcore5abi2 which conflicts with the new neon package libkf5calendarcore5 due to shared files

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libkf5calendarcore5
The following packages will be REMOVED:
  libkpimgapi5-data
The following NEW packages will be installed:
  libkf5calendarcore5
0 upgraded, 1 newly installed, 1 to remove and 1 not upgraded.
141 not fully installed or removed.
Need to get 0 B/253 kB of archives.
After this operation, 840 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 596633 files and directories currently installed.)
Removing libkpimgapi5-data (23.08.5-0zneon+24.04+noble+release+build20) ...
(Reading database ... 596630 files and directories currently installed.)
Preparing to unpack .../libkf5calendarcore5_5%3a5.116.0-xzneon+24.04+noble+release+build3_amd64.deb ...
Unpacking libkf5calendarcore5:amd64 (5:5.116.0-xzneon+24.04+noble+release+build3) ...
dpkg: error processing archive /var/cache/apt/archives/libkf5calendarcore5_5%3a5.116.0-xzneon+24.04+noble+release+build3_amd64.deb (--unpack):
 trying to overwrite '/usr/share/qlogging-categories5/kcalendarcore.categories', which is also in package libkf5calendarcore5abi2:amd64 5:5.115.0-0ubuntu3
Errors were encountered while processing:
 /var/cache/apt/archives/libkf5calendarcore5_5%3a5.116.0-xzneon+24.04+noble+release+build3_amd64.deb

STEPS TO REPRODUCE
1. update system

OBSERVED RESULT
Update errors with the above

EXPECTED RESULT
Update does not error

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 6.2
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
libkf5calendarcore5 is from neon repos and libkf5calendarcore5abi2 is from the ubuntu repos.
Comment 2 Jonathan Riddell 2024-11-14 11:00:49 UTC
I tested in a /user Docker installing ktnef then switched to /testing and installed kontact and it failed

Preparing to unpack .../097-kmail_4%3a24.08.3-0zneon+24.04+noble+release+build11_amd64.deb ...
Unpacking kmail (4:24.08.3-0zneon+24.04+noble+release+build11) ...
dpkg: error processing archive /tmp/apt-dpkg-install-N7dsOF/097-kmail_4%3a24.08.3-0zneon+24.04+noble+release+build11_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/ktnef', which is also in package ktnef 4:23.08.5-0ubuntu5.1

Fixing now...