| Summary: | No way to keep pkg_add from installing prerequisite | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Mark Diekhans <markd> | ||||
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 3.2-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->feedback Have a look at pkg_add's existing -n and -f options and let me know whether you still think we need your proposed option, which seems unnecessary to me. State Changed From-To: feedback->open I don't think this is a useful addition, but the submitter would like the PR to remain open for a second opinion. :-) State Changed From-To: open->closed Fetch the package by hand and use the -f option would do the same. I don't think installing a package without the prerequisites makes sense, but if you want to do it, this is a way to do it. |
pkg_add just goes ahead and installs prerequisite if it can find them. Especially likely if -r is specified. While this is a great default, sometimes one doesn't want a package dragging down 3/4 of the world. An option is needed to disable this. A patch is enclosed that add a -N option to disable this feature.