From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 02:18:48 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 4F5B516A4D0 for ; Tue, 1 Feb 2005 02:18:46 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF6343D5D for ; Tue, 1 Feb 2005 02:18:44 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so291061wri for ; Mon, 31 Jan 2005 18:18:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=oiMH9HAfF2aQpz0G4vV41X0VTPhOi10MAuxLIb0rr/K/nhHKVWioUUK6IDQPnbmMRPaa4xKcczC+ATKxJ7NYMcTj6CAXSR1mtdolOcJV2jsxw2Z8XIowtmTjQ0JnJYNZSYtmDNC9JihpP1KGyOBkpOFTRzfXMRbJ+Mvehe8Lbck= Received: by 10.54.29.20 with SMTP id c20mr264402wrc; Mon, 31 Jan 2005 18:18:43 -0800 (PST) Received: by 10.54.42.28 with HTTP; Mon, 31 Jan 2005 18:18:42 -0800 (PST) Message-ID: <810a540e05013118187dd46f03@mail.gmail.com> Date: Mon, 31 Jan 2005 19:18:42 -0700 From: Pat Maddox To: Matt LaPlante In-Reply-To: <200502010216.j112Gwll028376@smtp4.server.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <810a540e05013117544b00fac2@mail.gmail.com> <200502010216.j112Gwll028376@smtp4.server.rpi.edu> cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pat Maddox List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 02:18:48 -0000 pkgdb -F will tell you of any packages that have broken dependencies, and allow you to fix them if you choose. On Mon, 31 Jan 2005 21:16:56 -0500, Matt LaPlante wrote: > 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 :) > >