Skip site navigation (1)Skip section navigation (2)
Date:      04 Jan 2005 16:06:16 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Jordan Michaels <jordan@viviotech.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 4.10 and finding dependant packages
Message-ID:  <44oeg4ucon.fsf@be-well.ilk.org>
In-Reply-To: <41D9CE4C.4080306@viviotech.net>
References:  <41D9C7BC.2050309@bouncebk.com> <41D9CE4C.4080306@viviotech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jordan Michaels <jordan@viviotech.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44oeg4ucon.fsf>