Bug 1424723
| Summary: | doc: Hard to find documentation for weak dependencies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Honza Horak <hhorak> |
| Component: | dnf | Assignee: | Jaroslav Mracek <jmracek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 26 | CC: | jmracek, packaging-team-maint, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Documentation, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-2.6.2-1.fc26 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-25 16:55:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
> Some paragraph that would describe on few examples how to not install deps marked as Recommends: It's described --setopt and install_weak_deps documented in dnf.conf(5). > or how to install deps marked as Suggests.. there's no such option/command, we use Suggests only for favouring dependencies. we can document it in examples section. This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. I created a pull-request with example (https://github.com/rpm-software-management/dnf/pull/855). libdnf-0.9.3-1.fc26 dnf-plugins-core-2.1.3-1.fc26 dnf-2.6.2-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f4c06b2d7 dnf-2.6.2-1.fc26, dnf-plugins-core-2.1.3-1.fc26, libdnf-0.9.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f4c06b2d7 dnf-2.6.2-1.fc26, dnf-plugins-core-2.1.3-1.fc26, libdnf-0.9.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I was looking for the correct options to not install dependencies that are marked as `Recommends:`, but was not easy. Finally I found: dnf -y install XXX --setopt=install_weak_deps=False Version-Release number of selected component (if applicable): dnf-1.1.10-4.fc24.noarch Steps to Reproduce: 1. man dnf Actual results: Not clear how to omit weak deps. Expected results: Some paragraph that would describe on few examples how to not install deps marked as Recommends: or how to install deps marked as Suggests..