FreeBSD 4.10 and finding dependant packages

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Jan 4 13:06:17 PST 2005


Jordan Michaels <jordan at 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.


More information about the freebsd-questions mailing list