Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1292892
Summary: | dnf groupinstall ignores errors | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike McLean <mikem> | ||||
Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 22 | CC: | awilliam, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | dnf-1.1.9-1.fc23 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-22 02:25:08 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: | |||||||
Attachments: |
|
Description
Mike McLean
2015-12-18 16:21:11 UTC
Created attachment 1107220 [details]
comps file
I should also note that even at debuglevel=10, there is no hint that something is amiss. yum-deprecated behaves more sanely here. In case 1, it reports the missing dependency and exits with an error [root@localhost]# yum-deprecated -y groupinstall missing-deps ; echo "Exit code $?" Yum command has been deprecated, use dnf instead. See 'man dnf' and 'man yum2dnf' for more information. Loaded plugins: auto-update-debuginfo, langpacks Resolving Dependencies --> Running transaction check ---> Package fake.x86_64 0:1.0-20 will be installed --> Processing Dependency: nosuchpackage > 8192 for package: fake-1.0-20.x86_64 --> Finished Dependency Resolution Error: Package: fake-1.0-20.x86_64 (fake) Requires: nosuchpackage > 8192 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Exit code 1 In case 2, it exits cleanly, but prints a warning. # yum-deprecated -y groupinstall no-such-package ; echo "Exit code $?" Yum command has been deprecated, use dnf instead. See 'man dnf' and 'man yum2dnf' for more information. Loaded plugins: auto-update-debuginfo, langpacks Warning: Group no-such-package does not have any packages to install. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update Exit code 0 dnf-plugins-core-0.1.21-1.fc24 dnf-1.1.9-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1efd7bc386 dnf-1.1.9-1.fc23 dnf-plugins-core-0.1.21-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bb69db975e dnf-1.1.9-1.fc24, dnf-plugins-core-0.1.21-1.fc24 has been pushed to the Fedora 24 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-2016-1efd7bc386 dnf-1.1.9-1.fc23, dnf-plugins-core-0.1.21-1.fc23 has been pushed to the Fedora 23 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-2016-bb69db975e dnf-1.1.9-1.fc23, dnf-plugins-core-0.1.21-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. Latest incarnation of this: https://bugzilla.redhat.com/show_bug.cgi?id=1461539 https://github.com/rpm-software-management/dnf/pull/1038 |