Bug 502368 - k3b 24.12.3+p24.04+vstable+git20250403.0445-0 fails to upgrade
Summary: k3b 24.12.3+p24.04+vstable+git20250403.0445-0 fails to upgrade
Status: VERIFIED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Testing Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-03 16:53 UTC by John Schroeder
Modified: 2025-05-05 18:06 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12.3+p24.04+vstable+git20250408.0938-0
Sentry Crash Report:


Attachments
The full output of apt --fix-broken install to install/fix k3b (43.34 KB, text/x-log)
2025-04-08 16:32 UTC, John Schroeder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Schroeder 2025-04-03 16:53:09 UTC
SUMMARY
The latest k3b package in KDE Neon Testing Edition fails to upgrade. Discover and apt fix broken install fail to overwrite files used by k3b and k3b-data.

It looks like some files got moved between the 2 packages. It seems k3b now has files that k3b-data has and vice versa.

STEPS TO REPRODUCE
1. Have k3b installed.
2. Enable the neon testing repo.
3. Update k3b to 24.12.3

OBSERVED RESULT
After doing an offline update, Discover reports that "Failed to update 1 package": "Error while installing package: trying to overwrite '/usr/share/dbus-1/system-services/org.kde.k3b.service', which is also in package k3b-data 24.12.3-0zneon+24.04+noble+release+build14".

Attempting to repair also fails with the "Repair Failed" message.

EXPECTED RESULT
Update completes successfully.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8665U CPU @ 1.90GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Running the apt fix broken install has this output:
~$ 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 package was automatically installed and is no longer required:
  libk3b7-extracodecs
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  k3b k3b-data libk3b8-extracodecs
Suggested packages:
  k3b-extrathemes kde-config-cddb normalize-audio sox
The following packages will be upgraded:
  k3b k3b-data libk3b8-extracodecs
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
195 not fully installed or removed.
Need to get 0 B/10.1 MB of archives.
After this operation, 753 kB of additional disk space will be used.
Do you want to continue? [Y/n]  Y

Unpacking k3b (24.12.3+p24.04+vstable+git20250403.0445-0) over (24.12.3-0zneon+24.04+noble+release+build14) ...
dpkg: error processing archive /var/cache/apt/archives/k3b_24.12.3+p24.04+vstable+git20250403.0445-0_amd64.deb (--unpack):
 trying to overwrite '/usr/share/dbus-1/system-services/org.kde.k3b.service', which is also in package k3b-data 24.12.3-0zneon+24.04+noble+release+build14
Preparing to unpack .../k3b-data_24.12.3+p24.04+vstable+git20250403.0445-0_all.deb ...
Unpacking k3b-data (24.12.3+p24.04+vstable+git20250403.0445-0) over (24.12.3-0zneon+24.04+noble+release+build14) ...
dpkg: error processing archive /var/cache/apt/archives/k3b-data_24.12.3+p24.04+vstable+git20250403.0445-0_all.deb (--unpack):
 trying to overwrite '/usr/share/solid/actions/k3b_audiocd_rip.desktop', which is also in package k3b 24.12.3-0zneon+24.04+noble+release+build14
Preparing to unpack .../libk3b8-extracodecs_24.12.3+p24.04+vstable+git20250403.0445-0_amd64.deb ...
Unpacking libk3b8-extracodecs (24.12.3+p24.04+vstable+git20250403.0445-0) over (24.12.3-0zneon+24.04+noble+release+build14) ...
dpkg: error processing archive /var/cache/apt/archives/libk3b8-extracodecs_24.12.3+p24.04+vstable+git20250403.0445-0_amd64.deb (--unpack):
 trying to overwrite '/usr/share/konqsidebartng/virtual_folders/services/videodvd.desktop', which is also in package k3b-data 24.12.3-0zneon+24.04+noble+release+build14
Errors were encountered while processing:
 /var/cache/apt/archives/k3b_24.12.3+p24.04+vstable+git20250403.0445-0_amd64.deb
 /var/cache/apt/archives/k3b-data_24.12.3+p24.04+vstable+git20250403.0445-0_all.deb
 /var/cache/apt/archives/libk3b8-extracodecs_24.12.3+p24.04+vstable+git20250403.0445-0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment 1 Carlos De Maine 2025-04-07 09:27:55 UTC
hopefully fixed by https://invent.kde.org/neon/kde/k3b/-/commit/8a3d1e4edccd4dc24de8ef8094dc1dfede66ff85 ..

will be snapshot to testing repo shortly.  testing would be appreciated.
Comment 2 John Schroeder 2025-04-08 16:31:25 UTC
This is resolved in 24.12.3+p24.04+vstable+git20250408.0938-0 which I fetched just now. k3b and k3b-data now upgrade without issue. I have attached the full log.

~$ sudo apt --fix-broken install
dpkg: considering deconfiguration of k3b-data, which would be broken by installation of k3b ...
dpkg: yes, will deconfigure k3b-data (broken by k3b)
(Reading database ... 438522 files and directories currently installed.)
Preparing to unpack .../k3b_24.12.3+p24.04+vstable+git20250408.0938-0_amd64.deb ...
De-configuring k3b-data (24.12.3-0zneon+24.04+noble+release+build14), to allow installation of k3b (24.12.3+p24.04+vstable+git20250408.0938-0) ...
Unpacking k3b (24.12.3+p24.04+vstable+git20250408.0938-0) over (24.12.3-0zneon+24.04+noble+release+build14) ...
Replacing files in old package k3b-data (24.12.3-0zneon+24.04+noble+release+build14) ...
Preparing to unpack .../k3b-data_24.12.3+p24.04+vstable+git20250408.0938-0_all.deb ...
Unpacking k3b-data (24.12.3+p24.04+vstable+git20250408.0938-0) over (24.12.3-0zneon+24.04+noble+release+build14) ...
Preparing to unpack .../libkcddb6_4%3a24.12.3+p24.04+vstable+git20250408.0917-0_amd64.deb ...
Unpacking libkcddb6 (4:24.12.3+p24.04+vstable+git20250408.0917-0) over (4:24.12.3+p24.04+vstable+git20250401.1105-0) ...
Preparing to unpack .../libk3b8-extracodecs_24.12.3+p24.04+vstable+git20250408.0938-0_amd64.deb ...
Unpacking libk3b8-extracodecs (24.12.3+p24.04+vstable+git20250408.0938-0) over (24.12.3-0zneon+24.04+noble+release+build14) ...
Preparing to unpack .../libk3b8_24.12.3+p24.04+vstable+git20250408.0938-0_amd64.deb ...
Unpacking libk3b8 (24.12.3+p24.04+vstable+git20250408.0938-0) over (24.12.3+p24.04+vstable+git20250403.0445-0) ...
Comment 3 John Schroeder 2025-04-08 16:32:16 UTC
Created attachment 180093 [details]
The full output of apt --fix-broken install to install/fix k3b