Problems with update and packages KDE NEON 6.2

Hello everyone,

I have a problem since I updated to Ubutnu 24. Every time I run sudo apt full-update it tells me to remove the following packages (see below). Now when I use pkcon update it installs them again. Just this morning I tried again and got an update error that it was trying to install 2 packages via discover and was trying to overwrite one of them.

So how do I get rid of the packages - without getting a problem in the system?

Keep in mind that I am still new to Linux.

herbert@herbert:~$ sudo apt full-upgrade
[sudo] Passwort für herbert:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Starting pkgProblemResolver with broken count: 0%
Starting 2 pkgProblemResolver with broken count: 0
Done
Entering ResolveByKeep
Paketaktualisierung (Upgrade) wird berechnet… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
accounts-qml-module-doc kaccounts5-integration kf6-kdav kio-ldap kpim6-akonadi-notes kpim6-itinerary kpim6-kimap kpim6-kldap kpim6-kontactinterface kpim6-ktnef
kpim6-libkdepim kpim6-pkpass libaccounts-qt5-1 libkaccounts2 libkf5bluezqt-data libkf5bluezqt6 libkf5calendarcore5abi2 libkf5calendarutils-bin libkf5contacts-data
libkf5contacts5 libkf5grantleetheme-plugins libkf5i18nlocaledata5 libkf5itemmodels5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5prison5 libkf5prisonscanner5
libkf5purpose-bin libkf5purpose5 libkf5runner5 libkf5textaddonswidgets1 libkf5textautocorrectioncore1 libkf5textedittexttospeech1 libkf5textemoticonswidgets1
libkgantt-l10n libkgantt6-3 libkpim5akonadi-data libkpim5akonadiagentbase5 libkpim5akonadicore5 libkpim5akonadimime-bin libkpim5akonadimime-data libkpim5akonadimime5
libkpim5akonadinotes-data libkpim5akonadinotes5 libkpim5akonadiprivate5 libkpim5akonadisearchdebug5 libkpim5akonadisearchpim5 libkpim5akonadiwidgets5
libkpim5calendarutils-data libkpim5calendarutils5 libkpim5grantleetheme-data libkpim5grantleetheme5 libkpim5identitymanagement-data libkpim5identitymanagement5
libkpim5imap-data libkpim5imap5 libkpim5kontactinterface-data libkpim5kontactinterface5 libkpim5ldap-data libkpim5ldap5 libkpim5libkdepim-data libkpim5libkdepim5
libkpim5mime-data libkpim5mime5 libkpim5pimcommon5 libkpim5textedit-data libkpim5textedit5 libphonenumber8 libqt5keychain1 libsignon-qt5-1 osmctools
qml-module-org-kde-bluezqt qml-module-org-kde-prison qml-module-sso-onlineaccounts qml-module-ubuntu-onlineaccounts qt6-networkauth signon-kwallet-extension
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

These look correct for removal, to me. Almost all of them are old KF5 stuff, which have been replaced by KF6 things.

Some things look to be from Kontact (KDEPIM) suite, or related bits of it. Have you recently uninstalled things related to that?KDE Itinerary?

With a random spot check of about 5 or 6 items that aren’t kf5 related, I do not have any of these packages installed on my system.

sudo apt autoremove will uninstall these.
This is a handy cleanup action useful on any deb-based distro.

Perfect, I have now done another update and was able to remove the “old” packages. Now that I run sudo apt full-update and pkcon update, everything is fine. Thank you very much.

Lately I had only uninstalled Nvidia because with the big Ubuntu update 24.04 LTS the drivers no longer worked and some packages were uninstalled during the update. That was perhaps still a mistake.

If you use apt, you can skip pkcon, or vise-versa.

Pkcon is just a wrapper that calls the system’s native package manager tools. So for Debian and Ubuntu based systems:

pkcon refresh = apt update (to update package lists and find updates)

pkcon upgrade = apt full-upgrade

it is not hurting anything, but is just redundant.

yes, that is normal. There isn’t one single package involved with things like this, there will be many individual bits that the main driver package needs. When removing that, those “hard” dependencies will also be removed so that there are no conflicts.

In your original post, the things left behind were not “hard” dependencies, so were not removed during the full OS upgrade. They did not cause conflicts with the rest of they system, so they were left behind, and reported to you.

So I don’t suspect a mistake at all. But it is not a bad thing to verify what is being offered to remove.