You are not logged in.
Hi there
I installed xfce4 to test something and would like to remove it again.
I had thunar already installed before xfce4.
Now I want to remove itm but pacman says
]$ sudo pacman -R xfce4
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: thunar-archive-plugin: requires thunar
:: thunar-media-tags-plugin: requires thunar
:: thunar-volman: requires thunar>=1.0.1I tried something like -R xfce4 --ignore thunar but it didn't work.
How can I remove the package, but keep thunar?
I think it would be stupid to first delete the thunar plugins, then remove xfce4 and then again reinstall thunar with plugins..
thank you!
Offline
pacman -Rsn $(pacman -Qqs | grep "$(pacman -Sqg xfce4 xfce4-goodies)" | grep -v "^thunar")
Last edited by Wintervenom (2010-06-25 14:35:26)
Offline
Thank you, it worked!
I hoped this would be easier, looks complicated ![]()
Offline
-u, --unneeded
Removes the 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.
--> pacman -Rsu xfce4
P.S.: xfce4 is not a package, it is a group containing thunar but not the plugins, which are in xfce4-goodies group.
Last edited by hokasch (2010-06-25 16:00:19)
Offline