You are not logged in.
I would like to remove all members of the gnome group that are not needed for other packages but don't know which switch will do it.
# pacman -Rs gnome
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: gtk3: requires adwaita-icon-theme
:: xfce4-settings: requires gnome-themes-standardOffline
man pacmanOffline
Install the packages explicitly before attempting to remove the gnome group:
# pacman -S adwaita-icon-theme gnome-themes-standard
# pacman -Rs gnome-s, --recursive
Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user. This operation is recursive and analogous to a backwards --sync operation, and it helps keep a clean system without orphans. If you want to omit condition (B), pass this option twice.
Jin, Jîyan, Azadî
Offline
There is a better way...
Offline
There is a better way...
And I believe that it's spelled out in the manpage under the REMOVE OPTIONS section:
-u, --unneeded
Removes targets that are not required by any other packages. This is mostly useful when removing a group without
using the -c option, to avoid breaking any dependencies.
So try:
pacman -Rsu gnome...and please spend 5 minutes looking though the man page before posting. Not only are you likely to find the solution, you may actually learn something for later use.
Offline