Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 22:02:46 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Messy ports, how to clean them up?
Message-ID:  <17849.28502.463390.896995@jerusalem.litteratus.org>
In-Reply-To: <d7195cff0701251732t6925ad88xb47fd8664fffdc5a@mail.gmail.com>
References:  <45B94861.6010404@mail.zedat.fu-berlin.de> <20070125194925.70872a21.wmoran@collaborativefusion.com> <d7195cff0701251732t6925ad88xb47fd8664fffdc5a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

illoai@gmail.com writes:

>  > > Is there a way cleaning up automatically a messy ports collection? Like
>  > > portupgrade does, only the opposite way, not rebuilding/reinstalling a
>  > > rebuilt/upgraded port, looking for stale ports never used anymore by
>  > > another port?
>  >
>  > sysutils/pkg_cutleaves
>  
>  portupgrade includes pkg_deinstall, which has switch
>  to recursively remove all dependancies which are no
>  longer used by any other pkg/port, which is a way to
>  head this sort of thing off at the pass.

	I use portupgrade.
	I've never used pkg_deinstall, but given that portupgrade gets
... confused ... occasionally I look suspiciously at anything that
promises clean upward recursion.


					Robert Huff



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