You are not logged in.

#1 2007-03-16 01:20:55

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

How to remove gnome without dependency errors?

I'm a little frustrated with pacman right now.

I downloaded gnome, thinking I wanted it. I don't. So I went to remove the two things I installed with pacman: gnome and gnome-extra. But I can't, because the other packages that came with them depend on others within gnome. I don't care, though - I want ALL of gnome removed. Short of manually removing each dependency tree, which takes FOREVER, how can I easily get rid of this plague on my system? pacman -Rs gnome doesn't work, and I don't know what else to do. sad

Offline

#2 2007-03-16 01:30:06

schoens
Member
From: My throne.
Registered: 2007-01-23
Posts: 43

Re: How to remove gnome without dependency errors?

I'm fairly positive pacman -Rc gnome should remove all of gnome and anything that depends on it.

Offline

#3 2007-04-18 08:50:25

jond
Member
From: Norway
Registered: 2006-06-21
Posts: 13

Re: How to remove gnome without dependency errors?

I think pacman -Rcs works pretty well too.


Just say yes

Offline

#4 2007-04-18 11:43:32

sl
Banned
From: uk
Registered: 2007-04-04
Posts: 42
Website

Re: How to remove gnome without dependency errors?

to remove a pkg and its deps use pacman -Rs
(other combinations include. pacman -R[c,cc,n]s)

i don't remember if it acts on groups (i think taht's what teh `n' option does, i'm not sure), as for the `c' that removes the downloaded pkgs as well ...
..............
other tahn taht, only tip i got is try tro remove gnome (p -R gnome gnome-extra, etc) ..
and each time if it complaisn about deps. just add those pkgs to it as well#
so you'd have ..

pacman -Rns gnome gnome-extra gnome-terminal****

Offline

#5 2007-04-18 11:55:41

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: How to remove gnome without dependency errors?

sl wrote:

to remove a pkg and its deps use pacman -Rs
(other combinations include. pacman -R[c,cc,n]s)

i don't remember if it acts on groups (i think taht's what teh `n' option does, i'm not sure), as for the `c' that removes the downloaded pkgs as well ...
..............
other tahn taht, only tip i got is try tro remove gnome (p -R gnome gnome-extra, etc) ..
and each time if it complaisn about deps. just add those pkgs to it as well#
so you'd have ..

pacman -Rns gnome gnome-extra gnome-terminal****

Eeeek! I suggest you read the pacman manpage again.

REMOVE OPTIONS
       -c, --cascade
              Remove  all target packages, as well as all packages that depend
              on one or more target packages. This operation is recursive.

       -k, --keep
              Removes the database entry only. Leaves all files in place.

       -n, --nosave
              Instructs pacman to ignore file backup designations.   Normally,
              when  a  file is removed from the system the database is checked
              to see if the file should be renamed with a .pacsave  extension.

       -s, --recursive
              Remove  each  target  specified including all dependencies, pro-
              vided that (A) they are not required by other packages; and  (B)
              they  were not explicitly installed by the user.  This option is
              analogous to a backwards --sync operation.

Offline

Board footer

Powered by FluxBB