Plasma 6 update - system cleanup?

I have successfully updated plasma and was checking for any packages to uninstall and found these

Is it safe to remove them or is it better to leave them?

❯ pacman -Q | awk '{print $1}' | grep -E '^k' | grep -E '5$'
karchive5
kauth5
kbookmarks5
kcodecs5
kcompletion5
kconfig5
kconfigwidgets5
kcoreaddons5
kcrash5
kdbusaddons5
kded5
kglobalaccel5
kguiaddons5
ki18n5
kiconthemes5
kio5
kitemviews5
kjobwidgets5
knotifications5
kparts5
krb5
kservice5
ktextwidgets5
kwallet5
kwayland5
kwidgetsaddons5
kwindowsystem5
kxmlgui5

1 Like

pacman -Qdtq will produce a list of packages that are neither direct dependencies nor optional dependencies for any other packages in your system.

See here for reference to man pacman:

1 Like

I know this.

What I would like to know is if it is correct to have double packages such as kwallet,kwayland, knotifications etc. which is installed with both version 5 and 6

❯ pacman -Q | grep kwallet
kwallet 6.0.0-3
kwallet-pam 6.0.1-1
kwallet5 5.115.0-2
signon-kwallet-extension 24.02.0-1

❯ pacman -Q | grep kwayland
kwayland 6.0.1-1
kwayland-integration 6.0.1-1
kwayland5 5.115.0-1

❯ pacman -Q | grep knotifications
knotifications 6.0.0-1
knotifications5 5.115.0-1


I shouldn’t think so, if they are neither required as dependency or optionally required by any other package in your system.

So run it and see if the 5 versions of the packages will show up.

I already removed the orphaned packages yesterday after upgrading to Plasma 6

❯ pacman -Qdtq
webrtc-audio-processing

Then I would check with pactree -r X to see if I have anything in my system depending on X.

There are still packages in repos depending on 5 versions of some of kde plasma packages.

You may have some of them installed.

1 Like

Yep!!

Thanks, you were right they cannot be removed, at least for the moment.

kwallet5
├─github-desktop-bin
├─kio5
│ ├─kinit
│ └─kparts5
│   └─calamares
└─qtkeychain-qt6
  └─ktextaddons
    └─akonadi-contacts
      └─kgpg
❯ pactree -r kwayland5
kwayland5
└─kwayland-integration
❯ pactree -r knotifications5
knotifications5
└─kwallet5
  ├─github-desktop-bin
  ├─kio5
  │ ├─kinit
  │ └─kparts5
  │   └─calamares
  └─qtkeychain-qt6
    └─ktextaddons
      └─akonadi-contacts
        └─kgpg


1 Like

Why do you have calamares installed? Perhaps removing that would eliminate some of your dependency of frameworks 5

Good question.
I assume it was installed when I tried penguin-eggs and I didn’t remove it after uninstalling.

Thanks for noticing!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.