Messy ports, how to clean them up?

Bill Moran wmoran at collaborativefusion.com
Fri Jan 26 00:49:27 UTC 2007


In response to "O. Hartmann" <ohartman at 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

-- 
Bill Moran
Collaborative Fusion Inc.


More information about the freebsd-questions mailing list