You are not logged in.

#1 2010-06-25 13:55:08

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

Remove xfce4, keep thunar package

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.1

I 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

#2 2010-06-25 14:33:59

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Remove xfce4, keep thunar package

pacman -Rsn $(pacman -Qqs | grep "$(pacman -Sqg xfce4 xfce4-goodies)" | grep -v "^thunar")

Last edited by Wintervenom (2010-06-25 14:35:26)

Offline

#3 2010-06-25 15:03:53

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

Re: Remove xfce4, keep thunar package

Thank you, it worked!
I hoped this would be easier, looks complicated smile

Offline

#4 2010-06-25 15:54:27

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Remove xfce4, keep thunar package

man pacman / Remove Options wrote:

-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

Board footer

Powered by FluxBB