Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2005 21:43:23 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to deinstall the gnome2-lite port from my system completely?
Message-ID:  <200508062143.23543.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <147fc4b905080607385f50ead@mail.gmail.com>
References:  <147fc4b905080607385f50ead@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 06 August 2005 15:38, richard cinema wrote:
> at first, i try to do a " make deinstall" under
> /usr/ports/x11/gnome2-lite . no error occured
> except i found all the gnome stuff stay there when i run "pkg_info"
> then.   it seems the port did nothing with my "make deinstall"
> command.

gnome2-lite is a meta-port, it consists of nothing but dependencies, and 
deinstalling a port does not delete dependencies.

> anybody can help me to figure out a proper solution to this problem?
>
> btw: i know a "silly and slow" way: use "pkg_delete -f " to delete all
> the gnome2 and gtk2 packages manually. well, it make me feel like a
> type machine:)

A number of those ports will actually be needed by non-gnome ports anyway.

You can reinstall  gnome2-lite and  run 

   pkg_deinstall -Ri  gnome2-lite 

this will interactively delete the metaport and it's dependencies.  If you 
choose to  delete a dependency that is still required it will just fail to 
delete.

sysutils/pkg_cutleaves is another way of handling this, and doing a general 
clean-up



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508062143.23543.list-freebsd-2004>