You are not logged in.
I'm trying to uninstall lxde.
"pacman -Rd lxde" reveals...
Remove (12): pcmanfm-0.5.2-1 openbox-3.4.11.2-1 lxtask-0.1.3-1 lxsession-lite-0.4.4-1 lxrandr-0.1.1-1 lxpanel-0.5.5-3 lxmenu-data-0.1.1-1
lxlauncher-0.2.1-3 menu-cache-0.3.2-1 lxde-common-0.5.0-1 lxappearance-0.4.0-2 gpicview-0.2.1-3
Both openbox and gpicview have been explicitly installed and I want to keep them.
From man page:
-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 helps
keep a clean system without orphans. If you want to omit condition (B), pass this option twice.
So "pacman -Rs lxde" should work...
error: failed to prepare transaction (could not satisfy dependencies)
:: obconf: requires openbox>=3.4.5
:: obmenu: requires openbox
:: openbox-themes: requires openbox
And "pacman -Qi openbox" gives...
...
Required By : obconf obmenu openbox-themes
...
Install Reason : Explicitly installed
...
Same with "pacman -Qi gpicview"...
...
Required By : None
...
Install Reason : Explicitly installed
...
Bug? Or it this the expected default behaviour?? If it is, how can I tell it to remove all dependencies execpt those that meat conditions A and B from -Rs ??
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
lxde isn't a package but a group, so pacman -R lxde will try to remove all the parts of that group (which includes openbox). Looks like this bug is affecting you. Since the last pacman upgrade apparently it doesn't recognize groups like it used to.
Offline
You could use the -u switch and reinstall gpicview afterwards.
Offline
Ok, I used the -u switch and reinstalled gpicview.
So, this is not the indented behaviour? I'll add a comment to that bug report
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline