Re: Messy ports, how to clean them up?
On 1/26/07, Philip Hallstrom [EMAIL PROTECTED] wrote: 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? Thanks a lot in advance, Oliver P.S. I'm not very familiar with the complexicity of the pkgtoolset and ports collection, sorry. I prefer portmanager -slid. I've always used pkg_rmleaves... pops up a nice little dialog listing all the ports that aren't required by any other ports... check the ones you want to get rid of... on my non-serious boxes I tend to check anything I don't recognize and/or things I know I want gone. Then it repeats the process with any new ports that are no longer required due to anything you just removed. Seems to work pretty well for me... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- -- I'm nerdy in the extreme and whiter than sour cream ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messy ports, how to clean them up?
In response to O. Hartmann [EMAIL PROTECTED]: 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messy ports, how to clean them up?
On 25/01/07, Bill Moran [EMAIL PROTECTED] wrote: In response to O. Hartmann [EMAIL PROTECTED]: 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. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messy ports, how to clean them up?
[EMAIL PROTECTED] 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messy ports, how to clean them up?
Robert Huff wrote: 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. Many people prefer sysutils/portmanager over portupgrade. As usual, YMMV. -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messy ports, how to clean them up?
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? Thanks a lot in advance, Oliver P.S. I'm not very familiar with the complexicity of the pkgtoolset and ports collection, sorry. I've always used pkg_rmleaves... pops up a nice little dialog listing all the ports that aren't required by any other ports... check the ones you want to get rid of... on my non-serious boxes I tend to check anything I don't recognize and/or things I know I want gone. Then it repeats the process with any new ports that are no longer required due to anything you just removed. Seems to work pretty well for me... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]