Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2005 05:45:32 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Graham Menhennitt <gmenhennitt@optusnet.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: pkg question...
Message-ID:  <20050517194532.GB1511@cirb503493.alcatel.com.au>
In-Reply-To: <4289E139.3070200@optusnet.com.au>
References:  <20050517115356.GA15638@kierun.org> <4289E139.3070200@optusnet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2005-May-17 22:19:05 +1000, Graham Menhennitt wrote:
>Yann Golanski wrote:
>
>>Is there a way to remove a package and the dependencies that only said
>>package uses?
>> 
>>
>ports -> sysutils/pkg_rmleaves

That is an interactive script that lets you delete all packages that
aren't required by other packages.  You still need some way to work
out what dependencies were installed by the first package.

You could try looking at "pkg_deinstall -R" (part of portupgrade).

BTW, if you compiled the package, it could have installed build-time
dependencies that aren't recorded as requirements and I don't know
any easy way to find/delete them.

-- 
Peter Jeremy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050517194532.GB1511>