From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 21:06:17 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 8C0D616A4CE for ; Tue, 4 Jan 2005 21:06:17 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60B3943D1D for ; Tue, 4 Jan 2005 21:06:17 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 21115 invoked from network); 4 Jan 2005 21:06:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jan 2005 21:06:17 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6BA3E69; Tue, 4 Jan 2005 16:06:16 -0500 (EST) Sender: lowell@be-well.ilk.org To: Jordan Michaels References: <41D9C7BC.2050309@bouncebk.com> <41D9CE4C.4080306@viviotech.net> From: Lowell Gilbert Date: 04 Jan 2005 16:06:16 -0500 In-Reply-To: <41D9CE4C.4080306@viviotech.net> Message-ID: <44oeg4ucon.fsf@be-well.ilk.org> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.10 and finding dependant packages 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, 04 Jan 2005 21:06:17 -0000 Jordan Michaels writes: > However, now when I go to install php, I get an error message (Error > code 1) and when I try to remove the check box next to the apache > package, I get a "This package is required by 2 other packages" error > message. > > So, my questions is simple: What do I need to do to figure out what > packages require apache to be installed? I've worked with SuSE's YAST > tool and RPM's (and tools that manage RPM's... like YAST), but what's > the BSD way to go about this? pkg_info(1). For that matter, if you delete packages with pkg_delete(1), it will tell you which other packages (if any) are keeping a package from being installed. For more flexible options in updating your packages, you might want to look at the sysutils/portupgrade port.