(libkpim5gapi5-data) Failed to update 1 package Package failed to install: Error while installing package: trying to overwrite /usr/share/locale/ar/LC_MESSAGES/libkgapi_qt.qm, which is also in package libkpimgapi5-data 23.08.5-0zneon 24.04 noble release build1 SUMMARY Discover errors out with the above message when trying to update libkpim5gapi5-data. STEPS TO REPRODUCE 1. Update libkpim5gapi5-data 2. 3. OBSERVED RESULT Update errors out and is not updated EXPECTED RESULT An updated version to be installed. SOFTWARE/OS VERSIONS Operating System: KDE neon 6.2 KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.8.0-48-generic (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4000 Manufacturer: LENOVO System Version: ThinkCentre M92p ADDITIONAL INFORMATION There are two other people on KDE Discuss with the same problem.
Guss77 on KDE Discuss posted a solution for this problem. It worked on my machine and for three others who had the same issues. apt --fix-broken -o Dpkg::Options::="--force-overwrite" install apt full-upgrade -o Dpkg::Options::="--force-overwrite" apt autoremove --purge
The issue has been fixed. apt --fix-broken -o Dpkg::Options::="--force-overwrite" install apt full-upgrade -o Dpkg::Options::="--force-overwrite" apt autoremove --purge "In the upgrade from 5 to 6 some files moved between packages and that’s not a good situation because when installing parts of the system (which happens during any upgrade - some parts are updated while other parts haven’t yet), you will get into a situation where you need to install a new package that has a file from a different older package that hasn’t updated yet - and as you can see, Apt hates that. During Plasma 6 development, the Neon developers suggested setting Apt to automatically allow overwriting files from another package, but at this point it should have been stable and so it doesn’t make sense to allow this globally." ---------------- 09.11.2024, 14:52, "Antonio Rojas" <bugzilla_noreply@kde.org>: To: gerardhg@yandex.com (gerardhg@yandex.com); Subject: [neon] [Bug 496020] Package “libkpim5gapi5-data” failed to upgrade.; https://bugs.kde.org/show_bug.cgi?id=496020 Antonio Rojas < arojas@archlinux.org[1]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| | jr@jriddell.org[2], | | neon-bugs@kde.org[3] Component|discover |Packages User Edition Product|Discover |neon Assignee| plasma-bugs@kde.org[4] | neon-bugs@kde.org[3] Version|6.2.3 |unspecified -- You are receiving this mail because: You reported the bug. 1. mailto:arojas@archlinux.org 2. mailto:jr@jriddell.org 3. mailto:neon-bugs@kde.org 4. mailto:plasma-bugs@kde.org
*** Bug 496056 has been marked as a duplicate of this bug. ***
Allowing overwrites is not a solution, there should never be conflicts. The package data needs to be modified to remove the conflicting files. Reopening.
To provide context, the conflicting packages libkpim5gapi5-data and libkpimgapi5-data provide the same contents. It appears to be a poorly handled package rename where libkpim5gapi5-data was supposed to have libkpimgapi5-data in the "Replaces" and "Breaks" section but whoever handled the creation of this package forgot to do so.
(In reply to dofficialgman from comment #5) > To provide context, the conflicting packages libkpim5gapi5-data and > libkpimgapi5-data provide the same contents. It appears to be a poorly > handled package rename where libkpim5gapi5-data was supposed to have > libkpimgapi5-data in the "Replaces" and "Breaks" section but whoever handled > the creation of this package forgot to do so. correct. the packaging has been broken since the upgrade to noble when ubuntu/upstream changed it's packaging. <sarcasm> usually i'm quite a resilient fellow bu i am starting to tire of poorly worded bug reports. the neon packaging repos are available for all to see. patches are welcome even when poorly presented. </sarcasm>
(In reply to Carlos De Maine from comment #6) > correct. the packaging has been broken since the upgrade to noble when > ubuntu/upstream changed it's packaging. No. This is a neon specific problem. Neither libkpimgapi5-data nor libkpim5gapi5-data exist in upstream Ubuntu.
just for your reference, the libkpimgapi*5 packages were by libkpim5gapi*5 packages in mantic and my attempts to rectify this created the above mess. "libkpimgapi5-data nor libkpim5gapi5-data exist in upstream Ubuntu" finally you provide facts instead of poorly worded opinions, which allow the problem to be solved https://invent.kde.org/neon/neon-packaging/libkgapi5/-/commit/d0fd1227d74c92ed4c3c751b9719814d03aa49f6 https://invent.kde.org/neon/neon-packaging/libkgapi5/-/commit/38e0eacfc79588c6e7beb60eeb0b0b79b9bf1fc3 https://invent.kde.org/neon/neon-packaging/libkgapi5/-/commit/35de6877ee6c70bf610c17c6bb7b52b80eee57ee https://invent.kde.org/neon/neon-packaging/libkgapi5/-/commit/cc30094f6a567f43797c3d5cea054429bf05a41d for future bug reports please refrain from negative/contrary/poorly worded criticism's or indeed use your debian packaging knowledge and fix the problem yourself and for everybody else with a patch . they are always welcomed . https://invent.kde.org/neon/
Huh... Not sure what part of my previous comments were poorly worded opinion since debian guidelines say that a renamed package should have a breaks and replaces for the old name https://wiki.debian.org/RenamingPackages#Transition_package_method
(In reply to dofficialgman from comment #9) > Huh... Not sure what part of my previous comments were poorly worded opinion > since debian guidelines say that a renamed package should have a breaks and > replaces for the old name > https://wiki.debian.org/RenamingPackages#Transition_package_method ""It appears to be a poorly handled""