misc/92867: pkg_add needs an option to disable dependancy downloads

Jo Rhett jrhett at svcolo.com
Sun Feb 5 16:30:10 PST 2006

>Number:         92867
>Category:       misc
>Synopsis:       pkg_add needs an option to disable dependancy downloads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 06 00:30:05 GMT 2006
>Originator:     Jo Rhett
>Release:        6.0
Silicon Valley Colocation
FreeBSD [hostname].meer.net 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Fri Nov 11 13:29:33 PST 2005  
If you try to install a package using pkg_add from a URL, pkg_add will recursively attempt to download and install dependancies.  This is not always desired behavior.

It also adds "All" to the path it is trying to download from.  This is probably only relevant to FreeBSD archives.
pkg_add http://somesite/somepath/package1.tbz
package1 requires package2, which is not available at /somepath/All/
Add a command line option to disable recursive package installations.

Return a different result code if dependancies are unavailable so that scripters can identify the problem.

More information about the freebsd-bugs mailing list