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
pebcak
March 8, 2024, 6:23am
2
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
:
I did a bit of rtfm-ing
-d, --deps
Restrict or filter output to packages installed as dependencies. This option can be combined with -t for listing real orphans - packages that were installed as dependencies but are no longer required by any installed package.
-t, --unrequired
Restrict or filter output to print only packages neither required nor optionally required by any currently installed package.
Specify this option twice to include packages which are optionally, but not dire…
1 Like
pebcak:
pacman -Qdtq
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
pebcak
March 8, 2024, 6:31am
4
I shouldn’t think so, if they are neither required as dependency or optionally required by any other package in your system.
GjMan78:
pebcak:
pacman -Qdtq
I know this.
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
pebcak
March 8, 2024, 6:39am
6
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
dalto
March 8, 2024, 1:24pm
8
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
system
Closed
March 10, 2024, 2:45pm
10
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.