Bug 485026 - KDE neon dependency problems libkcolorpicker-qt6-0 and libkimageannotator-qt6-0
Summary: KDE neon dependency problems libkcolorpicker-qt6-0 and libkimageannotator-qt6-0
Status: RESOLVED DUPLICATE of bug 484940
Alias: None
Product: neon
Classification: KDE Neon
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 12:11 UTC by JMB9
Modified: 2024-04-09 11:51 UTC (History)
5 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 JMB9 2024-04-04 12:11:06 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
***

SUMMARY
Beginning of April it started that version to be updated don't have fulfilled dependencies.
It concentrates on the two packages libkcolorpicker-qt6-0 and libkimageannotator-qt6-0.
[Additionally there is  a component in update which is said to not update till something
is fullfilles (shim/booting?) - this massage is currently no longer there ...]: 

STEPS TO REPRODUCE
1. looking for updates
2. try to update systems
3. update failed due to unresolvable dependencies on KDE neon (after correct update to KDE neon 6.0.3)

OBSERVED RESULT
Output of update process:
~~
(Reading database ... 2531644 files and directories currently installed.)
Preparing to unpack .../libkcolorpicker-qt6-0_0.3.1-0xneon+22.04+jammy+release+build2_amd64.deb ...
Unpacking libkcolorpicker-qt6-0:amd64 (0.3.1-0xneon+22.04+jammy+release+build2) over (0.3.0-0+22.04+jammy+release+build1) ...
dpkg: error processing archive /var/cache/apt/archives/libkcolorpicker-qt6-0_0.3.1-0xneon+22.04+jammy+release+build2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libkColorPicker.so.0', which is also in package libkcolorpicker0:amd64 0.1.6-2
Errors were encountered while processing:
 /var/cache/apt/archives/libkcolorpicker-qt6-0_0.3.1-0xneon+22.04+jammy+release+build2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libkimageannotator-qt6-0:amd64:
 libkimageannotator-qt6-0:amd64 depends on libkcolorpicker-qt6-0 (>= 0.3.1); however:
  Version of libkcolorpicker-qt6-0:amd64 on system is 0.3.0-0+22.04+jammy+release+build1.

dpkg: error processing package libkimageannotator-qt6-0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gwenview:
 gwenview depends on libkimageannotator-qt6-0 (>= 0.7.1); however:
  Package libkimageannotator-qt6-0:amd64 is not configured yet.

dpkg: error processing package gwenview (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Errors were encountered while processing:
 libkimageannotator-qt6-0:amd64
 gwenview
~~

EXPECTED RESULT
No problem when updating ... this is the 1st time that such a thing happened on KDE neon based on 22.04 LTS
(during the long journey from 5.27.2 to 6.0.3), so not business as usual but something which should
not have happened.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:      KDE neon 6.0.3  (originally installed as User Edition when available and updated) 
(available in About System)
KDE Plasma Version:   6.0.3
KDE Frameworks Version:    6.0.0
Qt Version:                    6.6.3


ADDITIONAL INFORMATION
History of OS:                KDE neon (originally 5.27.2 installed as User Edition when available and
                                         updated several times till 6.0.3 which was reached before that trouble started)
Kernel Version:             6.5.0-26-generic (64-bit)
Graphics Platform:       X11
Comment 1 JMB9 2024-04-05 07:21:33 UTC
On my system are thee strange package problems - and it looks more like Windows than Linux.
Normaly Reps are concise and dpendencies are automatically met. If some packages can not be installed,
they won't be selected for install/update - so these 3 things should never happen:

1) gwenview and libimageannotator-qt6-0:
The new libimageannotator-qt6-0 is broken - so I had to delete gwenview to make updates like X11.
Would be nice if that could be fixed and one is able to install gwenview again on latest KDE neon (6.0.3 currently).

2) libcolorpicker-qt6-0:
It is there to get updated but can not update:
E: /var/cache/apt/archives/libkcolorpicker-qt6-0_0.3.1-0xneon+22.04+jammy+release+build2_amd64.deb: trying to overwrite '/usr/lib/x86_64-linux-gnu/libkColorPicker.so.0', which is also in package libkcolorpicker0:amd64 0.1.6-2

3) UEFI dbx 238 -> 371 is there in Updates (in KDE Updater - not shown when using synaptic).
But there is a warning message:
"Blocked executable in the ESP, ensure grub and shim are up to date:
/boot/efi/EFI/Boot/bootx64.efi"
So if it is not met, it should not be offered for update - right?

Interesting that such messages are totally uncommon under Linux - not seen similar messages in years.
And now 3 problems all emerging beginning of April ... I am not ammused.
Comment 2 Nicolas Fella 2024-04-05 12:58:09 UTC

*** This bug has been marked as a duplicate of bug 484940 ***
Comment 3 JMB9 2024-04-09 11:51:23 UTC
Ok, as now may commands have effect it seems the dependency problems have been eliminated:
Libpicker could be deleted and installes - which was rejected before;
and also gwenview with libkImageAnnotator.so.0 could be installed.
So package dependencies seem to be corrected.
The only annoyance is UEFI dbx 238 -> 371 only visible with Discover (and not really KDE related);
when using synaptic (my default) there is currently no problem with packages.
So thanks for the correcting of dependenvies in KDE6!
This bug report can be closed from my point of view.