Cleaning Out Ports?
mutati0n at softhome.net
Mon Jan 31 18:33:54 PST 2005
I think portsclean does that. I can't remember how though. Its in the
----- Original Message -----
From: "Matt LaPlante" <laplante at cat.rpi.edu>
To: "'Pat Maddox'" <pergesu at gmail.com>
Cc: <freebsd-questions at freebsd.org>
Sent: Monday, January 31, 2005 7:16 PM
Subject: RE: Cleaning Out Ports?
> Well what I'm more concerned with is how would you locate orphaned
> dependencies after the fact. For a parallel example, in gentoo you would
> "emerge --depclean" which searches the tree for any orphaned packages and
> removes them. So say I hadn't used the -r flag when removing packages on
> BSD, how could I find the leftovers later?
> Matt LaPlante
> System Administrator
> Center for Automation Technologies
> RPI/CAT, CII 8015
> 110 8th Street
> Troy, NY 12180
> Phone: (518) 276-2275
> laplante at cat.rpi.edu
>> -----Original Message-----
>> From: Pat Maddox [mailto:pergesu at gmail.com]
>> Sent: Monday, January 31, 2005 8:55 PM
>> To: Matt LaPlante
>> Cc: freebsd-questions at freebsd.org
>> Subject: Re: Cleaning Out Ports?
>> If you try to remove a package that has child dependencies, then it'll
>> let you know. You'll have to use the -f flag to force it to delete
>> the package, despite there being any dependencies. If you want to
>> delete a package along with all its dependencies, you can use the -r
>> Use pkgdb -F to fix any dependencies that might be broken.
>> I think that's about right. I'm a FreeBSD newbie :)
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions