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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 06 00:30:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jo Rhett
>Release:        6.0
>Organization:
Silicon Valley Colocation
>Environment:
FreeBSD [hostname].meer.net 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Fri Nov 11 13:29:33 PST 2005  
>Description:
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.
>How-To-Repeat:
pkg_add http://somesite/somepath/package1.tbz
package1 requires package2, which is not available at /somepath/All/
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list