You are not logged in.
Hi,
I removed calamares and orphans kde packages are left behind , for orphan packages I used
# pacman -Qdtq | pacman -Rns - command but that did not remove orphan kde packages .How to get rid of those?
I tried # pacman -Qdtq | pacman -Rns - kde but got error error: argument '-' specified with empty stdin , ( I knew this command wont work ! ) so how to get rid of following packages at once and safely ?
$ sudo pacman -Qs kde
local/kactivities5 5.116.0-1 (kf5)
Core components for KDE Activities
local/kdeclarative5 5.116.0-1 (kf5)
Provides integration of QML and KDE Frameworks
local/kded5 5.116.0-1 (kf5)
Extensible deamon for providing system level services
local/kio-extras 24.05.1-1 (kde-applications kde-network)
Additional components to increase the functionality of KIO
local/libappindicator-gtk3 12.10.0.r298-3
Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray
(GTK+ 3 library)
local/libblockdev 3.1.1-2
A library for manipulating block devices
local/libblockdev-crypto 3.1.1-2
A library for manipulating block devices - crypto support
local/libblockdev-fs 3.1.1-2
A library for manipulating block devices - filesystem support
local/libblockdev-loop 3.1.1-2
A library for manipulating block devices - loop device support
local/libblockdev-mdraid 3.1.1-2
A library for manipulating block devices - MDRAID support
local/libblockdev-nvme 3.1.1-2
A library for manipulating block devices - NVME support
local/libblockdev-part 3.1.1-2
A library for manipulating block devices - partitioning support
local/libblockdev-swap 3.1.1-2
A library for manipulating block devices - swap device support
local/phonon-qt6 4.12.0-4
The multimedia framework by KDE
local/plasma-activities 6.0.5-1 (plasma)
Core components for KDE Activities
local/sddm-kcm 6.0.5-1 (plasma)
KDE Config Module for SDDM
Offline
Pacman -Qdt only lists packages that were installed as dependencies but are no longer required by any installed package .
The packages you list may have been explicitly installed or required by other packages still present.
Investigate by running pacman -Qi on the individual packages .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Investigate why each package is needed, e.g.
$ pactree -r kactivities5
(note: pactree is part of the pacman-contrib package in [extra])
If the command only outputs the package name, then it's not a hard dependency of anything else, and chances are you have installed it 'explicitly', check with
pacman -Qi <package> | grep "Install Reason"
If that is the case, then you'll need to 'explicitly' remove it, e.g. 'pacman -Rns <package>'
If pactree produces a tree output, then the end branches are the packages you need to inspect, e.g. on my system I would need to remove plasma5-integration, okteta, k3b, oxygen5, and breeze5 to clean up kded5:
$ pactree -r kded5
kded5
└─kio5
├─k3b
├─kdeclarative5
│ └─kcmutils5
│ ├─k3b
│ └─okteta
├─knewstuff5
│ ├─frameworkintegration5
│ │ ├─breeze5
│ │ └─oxygen5
│ ├─k3b
│ └─okteta
├─knotifyconfig5
│ └─k3b
├─kparts5
│ └─okteta
├─libkcddb5
│ └─k3b
├─okteta
└─plasma5-integration
# pacman -Rnsu plasma5-integration okteta k3b oxygen5 breeze5
checking dependencies...
:: breeze optionally requires breeze5: Breeze widget style for Qt5 applications
:: git optionally requires org.freedesktop.secrets: keyring credential helper
:: libsecret optionally requires org.freedesktop.secrets: secret storage backend
:: plasma-workspace optionally requires plasma5-integration: use Plasma settings in Qt5 applications
:: python-pyqt5 optionally requires qt5-speech: QtTextToSpeech
:: subversion optionally requires kwallet5: for KWallet for auth credentials
Package (56) Old Version Net Change
attica5 5.116.0-1 -1.62 MiB
frameworkintegration5 5.116.0-1 -1.71 MiB
karchive5 5.116.0-1 -1.05 MiB
kauth5 5.116.0-1 -0.75 MiB
kbookmarks5 5.116.0-1 -1.27 MiB
kcmutils5 5.116.0-1 -1.60 MiB
kcodecs5 5.116.0-1 -0.99 MiB
kcompletion5 5.116.0-1 -1.11 MiB
kconfig5 5.116.0-1 -2.93 MiB
kconfigwidgets5 5.116.0-1 -2.66 MiB
kcoreaddons5 5.116.0-1 -3.44 MiB
kcrash5 5.116.0-1 -0.22 MiB
kdbusaddons5 5.116.0-1 -0.46 MiB
kdeclarative5 5.116.0-1 -1.59 MiB
kded5 5.116.0-1 -0.11 MiB
kfilemetadata5 5.116.0-1 -1.48 MiB
kglobalaccel5 5.116.0-1 -0.62 MiB
kguiaddons5 5.116.0-1 -0.69 MiB
ki18n5 5.116.0-1 -17.50 MiB
kiconthemes5 5.116.0-1 -1.02 MiB
kio5 5.116.0-1 -28.71 MiB
kirigami2 5.116.0-1 -2.05 MiB
kitemviews5 5.116.0-1 -0.88 MiB
kjobwidgets5 5.116.0-1 -0.73 MiB
knewstuff5 5.116.0-1 -5.86 MiB
knotifications5 5.116.0-1 -1.04 MiB
knotifyconfig5 5.116.0-1 -0.53 MiB
kpackage5 5.116.0-1 -0.98 MiB
kparts5 5.116.0-1 -2.04 MiB
kservice5 5.116.0-1 -1.65 MiB
ktextwidgets5 5.116.0-1 -2.15 MiB
kwallet5 5.116.0-1 -2.33 MiB
kwidgetsaddons5 5.116.0-1 -11.30 MiB
kxmlgui5 5.116.0-1 -4.67 MiB
libburn 1.5.6-1 -0.68 MiB
libkcddb 24.05.0-1 -1.44 MiB
libkcddb5 24.05.0-1 -0.29 MiB
libmusicbrainz5 5.1.0-5 -0.77 MiB
neon 0.33.0-1 -0.67 MiB
oxygen 6.0.5-1 -17.92 MiB
polkit-qt5 0.200.0-1 -0.33 MiB
poppler-qt5 24.06.0-1 -0.84 MiB
qca-qt5 2.3.8-3 -2.95 MiB
qt5-graphicaleffects 5.15.14-1 -0.52 MiB
qt5-quickcontrols 5.15.14-1 -4.72 MiB
qt5-quickcontrols2 5.15.14+kde+r5-1 -8.59 MiB
qt5-script 5.15.17-2 -3.41 MiB
qt5-speech 5.15.14+kde+r1-1 -0.17 MiB
solid5 5.116.0-1 -2.49 MiB
sonnet5 5.116.0-1 -2.26 MiB
syndication5 5.116.0-1 -2.25 MiB
breeze5 6.0.5-1 -0.50 MiB
k3b 1:24.05.0-1 -33.18 MiB
okteta 1:0.26.15-1 -7.22 MiB
oxygen5 6.0.5-1 -1.02 MiB
plasma5-integration 6.0.5-1 -0.38 MiB
Total Removed Size: 200.34 MiB
Note that the same can be achieved using the --cascade option on the kded5 package, but I tend to avoid that option since it can cause unexpected results.
Mod note: Moving to Pacman Issues.
Last edited by WorMzy (2024-06-14 08:55:22)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline