pkg_add -r doesn't process sub dependencies?

walt w41ter at
Fri Mar 7 21:15:06 UTC 2008

Steven Hartland wrote:
> Seems if you have package X which depends on package Y which
> depends on package Z then pkg_add -r X will always fail unless
> you first :-
> 1. pkg_add -r Y
> 2. pkg_add -r Z
> The failure will be:-
> pkg_add: could not find package Z !
> This happens even though Z exists in the remote source package
> directory...

If you are using RELENG_7, pkg_add is looking in the wrong place
on the remote server for packages.  I just submitted a patch on
the -STABLE list for this problem.

More information about the freebsd-hackers mailing list