Bug 1784148
| Summary: | dnf deplist is not returning linux-firmware dependency | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Marco Patalano <mpatalan> |
| Component: | dnf | Assignee: | Jaroslav Mracek <jmracek> |
| Status: | CLOSED ERRATA | QA Contact: | Radek Bíba <rbiba> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.2 | CC: | amatej, bgoncalv, james.antill |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.2 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-4.2.17-6.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-28 16:49:06 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: | |||
|
Description
Marco Patalano
2019-12-16 20:00:52 UTC
Just ran a quick test on my RHEL-7.5 PC and get the following with yum deplist: $ yum deplist http://download-node-02.eng.bos.redhat.com/brewroot/packages/kernel/4.18.0/165.el8/x86_64/kernel-core-4.18.0-165.el8.x86_64.rpm Loaded plugins: changelog, fs-snapshot, priorities, refresh-packagekit, rhnplugin, rpm-warm-cache, verify *Note* Spacewalk repositories are not listed below. You must run this command as root to access Spacewalk repositories. Repository google-chrome is listed more than once in the configuration Repository google-talkplugin is listed more than once in the configuration kernel-core-4.18.0-165.el8.x86_64.rpm | 28 MB 00:00:02 package: kernel-core.x86_64 4.18.0-165.el8 dependency: /bin/sh Unsatisfied dependency dependency: /usr/bin/kernel-install Unsatisfied dependency dependency: coreutils Unsatisfied dependency dependency: dracut >= 027 Unsatisfied dependency dependency: linux-firmware >= 20191202-96.gite8a0f4c9 Unsatisfied dependency dependency: systemd >= 200 Unsatisfied dependency dependency: systemd >= 203-2 Unsatisfied dependency The problem is that dnf deplist doesn't download the package to inspect and it always exists with 0: $ dnf deplist http://download-node-02.eng.bos.redhat.com/brewroot/packages/kernel/4.18.0/165.el8/x86_64/kernel-4.18.0-165.el8.x86_64.rpm $ echo $? 0 The expected behavior is: $ dnf deplist http://download-node-02.eng.bos.redhat.com/brewroot/packages/kernel/4.18.0/165.el8/x86_64/kernel-4.18.0-165.el8.x86_64.rpm package: kernel-4.18.0-165.el8.x86_64 dependency: kernel-core-uname-r = 4.18.0-165.el8.x86_64 provider: kernel-core-4.18.0-165.el8.x86_64 dependency: kernel-modules-uname-r = 4.18.0-165.el8.x86_64 provider: kernel-modules-4.18.0-165.el8.x86_64 $ echo $? 0 or $ dnf deplist http://example.com/does-not-exist Error: Could not download http://example.com/does-not-exist $ echo $? 1 (or any other non-zero exit code) I create a patch that adds support of local packages for repoquery command (https://github.com/rpm-software-management/dnf/pull/1564). The `deplist` command is only alias for `yum repoquery --deplist`. Tests: https://github.com/rpm-software-management/ci-dnf-stack/pull/747 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1823 |