I did find an older 2024 post @ Can I remove kde5 things now?, which more or less suggested two approaches:
- waiting for packages to become orphans; then remove
- allowing
sudo pacman -Rns kf5to remove what it can
I’ve more or less been following these strategies; however, today I noticed that there really are only 5 packages that fail dependency checks when executiing
sudo pacman -Rns kf5
sudo pacman -Rns kf5
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing frameworkintegration5 breaks dependency 'frameworkintegration5' required by breeze5
:: removing kconfig5 breaks dependency 'kconfig5' required by breeze5
:: removing kconfigwidgets5 breaks dependency 'kconfigwidgets5' required by breeze5
:: removing kguiaddons5 breaks dependency 'kguiaddons5' required by breeze5
:: removing kiconthemes5 breaks dependency 'kiconthemes5' required by breeze5
:: removing kirigami2 breaks dependency 'kirigami2' required by breeze5
:: removing kwindowsystem5 breaks dependency 'kwindowsystem5' required by breeze5
:: removing kwayland5 breaks dependency 'kwayland5' required by kwayland-integration
:: removing kwindowsystem5 breaks dependency 'kwindowsystem5' required by kwayland-integration
:: removing kauth5 breaks dependency 'kauth5' required by manjaro-settings-manager
:: removing kcoreaddons5 breaks dependency 'kcoreaddons5' required by manjaro-settings-manager
:: removing kitemmodels5 breaks dependency 'kitemmodels5' required by manjaro-settings-manager
:: removing knotifications5 breaks dependency 'knotifications5' required by manjaro-settings-manager-knotifier
:: removing frameworkintegration5 breaks dependency 'frameworkintegration5' required by oxygen5
:: removing kcompletion5 breaks dependency 'kcompletion5' required by oxygen5
:: removing kconfig5 breaks dependency 'kconfig5' required by oxygen5
:: removing kconfigwidgets5 breaks dependency 'kconfigwidgets5' required by oxygen5
:: removing kguiaddons5 breaks dependency 'kguiaddons5' required by oxygen5
:: removing ki18n5 breaks dependency 'ki18n5' required by oxygen5
:: removing kwidgetsaddons5 breaks dependency 'kwidgetsaddons5' required by oxygen5
:: removing kwindowsystem5 breaks dependency 'kwindowsystem5' required by oxygen5
:: removing kcompletion5 breaks dependency 'kcompletion5' required by plasma5-integration
:: removing kconfig5 breaks dependency 'kconfig5' required by plasma5-integration
:: removing kconfigwidgets5 breaks dependency 'kconfigwidgets5' required by plasma5-integration
:: removing kcoreaddons5 breaks dependency 'kcoreaddons5' required by plasma5-integration
:: removing ki18n5 breaks dependency 'ki18n5' required by plasma5-integration
:: removing kiconthemes5 breaks dependency 'kiconthemes5' required by plasma5-integration
:: removing kio5 breaks dependency 'kio5' required by plasma5-integration
:: removing kjobwidgets5 breaks dependency 'kjobwidgets5' required by plasma5-integration
:: removing knotifications5 breaks dependency 'knotifications5' required by plasma5-integration
:: removing kservice5 breaks dependency 'kservice5' required by plasma5-integration
:: removing kwayland5 breaks dependency 'kwayland5' required by plasma5-integration
:: removing kwidgetsaddons5 breaks dependency 'kwidgetsaddons5' required by plasma5-integration
:: removing kwindowsystem5 breaks dependency 'kwindowsystem5' required by plasma5-integration
:: removing kxmlgui5 breaks dependency 'kxmlgui5' required by plasma5-integration
breeze5oxygen5plasma5-integrationmanjaro-settings-managerkwayland-integration
As far as I can figure out, manjaro-settings-manager and kwayland-integration for sure will keep elements of kf5 around for a bit until they transition.
But when I check what removing breeze5, oxygen5, and plasma5-integration would impact, the only dependencies mentioned are OPTIONAL, so not required?
sudo pacman -Rns breeze5 (2 optional dependencies)
checking dependencies...
:: breeze optionally requires breeze5: Breeze widget style for Qt5 applications
:: qt5-quickcontrols2 optionally requires qt5-graphicaleffects: for the Material style
Packages (4) kirigami2-5.116.0-1 qt5-graphicaleffects-5.15.17-1 qt5-quickcontrols-5.15.17-1 breeze5-6.3.6-1
Total Removed Size: 7.83 MiB
sudo pacman -Rns oxygen5
checking dependencies...
Packages (2) oxygen-6.3.6-1 oxygen5-6.3.6-1
Total Removed Size: 19.29 MiB
sudo pacman -Rns plasma5-integration (1 optional dependency)
checking dependencies...
:: plasma-workspace optionally requires plasma5-integration: use Plasma settings in Qt5 applications
Packages (16) kbookmarks5-5.116.0-1 kcrash5-5.116.0-1 kdbusaddons5-5.116.0-1 kded5-5.116.0-1 kglobalaccel5-5.116.0-1 kio5-5.116.0-2 kitemviews5-5.116.0-1
kjobwidgets5-5.116.0-1 kservice5-5.116.0-1 ktextwidgets5-5.116.0-1 kwallet5-5.116.0-3 kxmlgui5-5.116.0-1 qca-qt5-2.3.10-3 solid5-5.116.0-1 sonnet5-5.116.0-1
plasma5-integration-6.3.6-1
Total Removed Size: 50.39 MiB
Not sure why the oxygen5 removal strategy didn’t include one optional dependency… likely the cause of why it was wanting to remove the plasma6 version of the oxygen theme as well… so I’ll need to adjust my command until only the one oxygen5 package is removed… if/when I prceed.
Does anyone know whether removing breeze5, oxygen5, and/or plasma5-integration would have negative consequences under plasma6? I’m assuming not as only “optional dependency” checks are noted, but I figured it’s better to ask than assume.
I imagine once any of these packages were removed that sudo pacman -Rns kf5 will purge more as well.