Summary: | libkcolorpicker-qt6-0 failed to install in updates | ||
---|---|---|---|
Product: | [KDE Neon] neon | Reporter: | simonmapson |
Component: | general | Assignee: | Neon Bugs <neon-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jblake, jmb_tux, jr, kde.filled766, kde.kindling016, neon-bugs, simonmapson, sitter, tafol, the_archer_xz, thomaslukeduffin, tomfoley247, valerio.galdo, x.padulles |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/neon/backports-jammy/kcolorpicker/-/commit/d329fb071b4e9898019f151ecdc85730db186efe | Version Fixed In: | |
Sentry Crash Report: |
Description
simonmapson
2024-04-02 18:28:41 UTC
Ug sorry about that, libkcolorpicker0 comes from Ubuntu so we should add a breaks/replaces but the archives are busy building Qt 6.7 so that won't be published until that's done. To work around run apt remove libkcolorpicker0 Sorry but the workaround doesn't work... this is the output: libkimageannotator-qt6-0 : Depends: libkcolorpicker-qt6-0 (>= 0.3.1) but version 0.3.0-0+22.04+jammy+release+build1 is about to be installed E: Unsatisfied dependencies. Try "apt --fix-broken install" without packages (or specify a workaround). Today (02.04.2024) I received a notice to install updates via Discover. After a restart to install, and a restart after updates applied, notification area stated 'offline update failed'. Having made several attempts to apply the failed update again, all failing, I used Konsole to 'sudo apt-get update && sudo apt-get full upgrade' which brought up the following error: 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 This fixed my issue: dpkg --remove --force-remove-reinstreq libkcolorpicker0 and then: sudo apt full-upgrade (In reply to lin.ackles@pm.me from comment #4) > This fixed my issue: > > dpkg --remove --force-remove-reinstreq libkcolorpicker0 > > and then: > > sudo apt full-upgrade This didn't solved my case. Same issue after the full-upgrade command this worked for me: sudo apt --fix-broken install Same object is in two packages... 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 Git commit d329fb071b4e9898019f151ecdc85730db186efe by Jonathan Riddell. Committed on 03/04/2024 at 14:22. Pushed by jriddell into branch 'Neon/release'. conflict libkcolorpicker0 M +7 -11 debian/control https://invent.kde.org/neon/backports-jammy/kcolorpicker/-/commit/d329fb071b4e9898019f151ecdc85730db186efe Have resolved this by removing all klibcolorpicker packages via the terminal: cd .. to usr/share/doc cd .. libkcolorpicker-qt6-0 then deleted the 2 documents in the directory: sudo rm changelog.Debian.gz copyright then sudo rrm libkcolorpicker-qt6-0 then cd.. to usr/lib/x86_64-linux-gnu then sudo rm libkColorPicker-Qt6.so.0.3.0 sudo rm libkColorPicker-Qt.so.0 sudo rm libkColorPicker-Qt6.so.0 sudo rm libkColorPicker.so.0 rebooted, checked for updates, and now all good. typo at rrm should just be rm. (In reply to jblake from comment #9) > Have resolved this by removing all klibcolorpicker packages via the terminal: > > cd .. to usr/share/doc > cd .. libkcolorpicker-qt6-0 > > then deleted the 2 documents in the directory: > > sudo rm changelog.Debian.gz copyright > > then > > sudo rrm libkcolorpicker-qt6-0 > > then cd.. to > > usr/lib/x86_64-linux-gnu > > then > > sudo rm libkColorPicker-Qt6.so.0.3.0 > > sudo rm libkColorPicker-Qt.so.0 > > sudo rm libkColorPicker-Qt6.so.0 > > sudo rm libkColorPicker.so.0 > > rebooted, checked for updates, and now all good. Didn't seem to fix it for me -- just returned after my next reboot :/ I had a couple more libkColorPicker entries in the /usr/lib/x86_64-linux-gnu folder compared to you but I deleted those too. I think for now I'll just have to wait for this to get resolved or for another fix to come through *** Bug 485026 has been marked as a duplicate of this bug. *** *** Bug 484983 has been marked as a duplicate of this bug. *** This seems to prevent installing anything. Trying to run eg. apt install muon will throw an error about libkcolorpicker which should be 100% unrelated. I'm not trying to update the overall system, just add one package. The fix also doesn't seem to have trickled onto the update servers yet. Hello, thanks for your help. I have followed the instructions you give in your messages and I have managed to solve the same problem by doing several of the things that are said here. First I have done: sudo apt remove libkcolorpicker0 but I got an error about unsatisfied dependencies. Then I have done: sudo dpkg --remove --force-remove-reinstreq libkcolorpicker0 and then: sudo apt full-upgrade finally, with: sudo apt --fix-broken install everything has been solved. |