From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 02:33:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D6C16A4D1 for ; Tue, 1 Feb 2005 02:33:54 +0000 (GMT) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id A4DDA43D48 for ; Tue, 1 Feb 2005 02:33:53 +0000 (GMT) (envelope-from mutati0n@softhome.net) Received: (qmail 11156 invoked by uid 417); 1 Feb 2005 02:33:53 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 1 Feb 2005 02:33:53 -0000 Received: from lappy ([150.131.241.221]) (AUTH: LOGIN mutati0n@softhome.net) by softhome.net with esmtp; Mon, 31 Jan 2005 19:33:52 -0700 Message-ID: <016401c50806$7d4b4cc0$cb25240a@lappy> From: "Nathan Wheeler" To: "Matt LaPlante" References: <200502010216.j112Gwll028376@smtp4.server.rpi.edu> Date: Mon, 31 Jan 2005 19:34:00 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 02:33:54 -0000 I think portsclean does that. I can't remember how though. Its in the portupgrade package. Nathan ----- Original Message ----- From: "Matt LaPlante" To: "'Pat Maddox'" Cc: 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@cat.rpi.edu > www.cat.rpi.edu > >> -----Original Message----- >> From: Pat Maddox [mailto:pergesu@gmail.com] >> Sent: Monday, January 31, 2005 8:55 PM >> To: Matt LaPlante >> Cc: freebsd-questions@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 >> flag. >> >> Use pkgdb -F to fix any dependencies that might be broken. >> >> I think that's about right. I'm a FreeBSD newbie :) > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >