Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 19:32:59 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Bill Moran" <wmoran@collaborativefusion.com>
Cc:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, freebsd-questions@freebsd.org
Subject:   Re: Messy ports, how to clean them up?
Message-ID:  <d7195cff0701251732t6925ad88xb47fd8664fffdc5a@mail.gmail.com>
In-Reply-To: <20070125194925.70872a21.wmoran@collaborativefusion.com>
References:  <45B94861.6010404@mail.zedat.fu-berlin.de> <20070125194925.70872a21.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25/01/07, Bill Moran <wmoran@collaborativefusion.com> wrote:
> In response to "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>:
>
> > Well,
> > I use portsnap and portupgrade on a regular basis and therefore I could
> > watch very often the rebuild of ports - a nice and neat thing of FreeBSD.
> >
> > Bit sometimes I or someone else installs ports an they install
> > dependencies and then he/she or I decide to kill/delete a specific port,
> > but very often dependencies remains on the system and doing this
> > deletion a couple of times will end in some 'zombie' remains of ports.
> >
> > 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.

-- 
--



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