You are not logged in.

#1 2008-12-18 02:32:49

Chance
Member
Registered: 2008-12-05
Posts: 99

[Solved] Cannot remove Slim

So i finally installed arch linux with gnome successfully for the first time. (YAY! big_smile) For my first install i decided to use Slim as my login manager, until i found out that i couldn't shutdown the computer using the shutdown button in gnome. So i decided in install GDM. But now when i try to remove slim in terminal using 'pacman -R slim', i get the follow error.

error: failed to prepare transaction (could not satisfy dependencies)
:: archlinux-themes-slim: requires slim
:: slim-themes: requires slim

Can anyone help me here? I already switched to using GDM already. Thanks.

Last edited by Chance (2008-12-18 02:56:01)

Offline

#2 2008-12-18 02:48:31

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [Solved] Cannot remove Slim

That would mean that you need to remove those packages, as well. Try with "pacman -Rsn archlinux-themes-slim slim-themes slim".

Offline

#3 2008-12-18 02:50:24

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] Cannot remove Slim

Chance wrote:

So i finally installed arch linux with gnome successfully for the first time. (YAY! big_smile) For my first install i decided to use Slim as my login manager, until i found out that i couldn't shutdown the computer using the shutdown button in gnome. So i decided in install GDM. But now when i try to remove slim in terminal using 'pacman -R slim', i get the follow error.

error: failed to prepare transaction (could not satisfy dependencies)
:: archlinux-themes-slim: requires slim
:: slim-themes: requires slim

Can anyone help me here? I already switched to using GDM already. Thanks.

When you try to remove something and it doesn't work, you have some choices. Since slim-themes and archlinux-themes-slim are useless if you don't have slim installed, this command will remove slim and the things that depend on it:

pacman -Rscn slim

From pacman's remove help (pacman -R --help):

-c, --cascade        remove packages and all packages that depend on them
-s, --recursive      remove dependencies also (that won't break packages)
                       (-ss includes explicitly installed dependencies too)
-n, --nosave         remove configuration files as well

You just want to make sure that you're not removing too much stuff. Look at the list of stuff that comes up to be sure. If you're sure, it's safe to remove.

The pacman Wiki article is very helpful, as well the man page, and the help files.

Offline

#4 2008-12-18 02:50:26

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: [Solved] Cannot remove Slim

pacman -Rs slim
The s means recursive and will remove slim and all its dependencies.

Bob

Offline

#5 2008-12-18 02:55:43

Chance
Member
Registered: 2008-12-05
Posts: 99

Re: [Solved] Cannot remove Slim

Thanks for the quick reply everyone.

'pacman -Rscn slim' did the trick big_smile

Offline

Board footer

Powered by FluxBB