Bug 1884169
| Summary: | dnf updateinfo reports inapplicable advisories | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Michael Mráka <mmraka> |
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | swm-qe |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.2 | CC: | amatej, james.antill, tlestach |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-06 09:51:01 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: | |||
Thank you for the report, this bug happens because DNF doesn't handle multiple collections in a single update of an updateinfo.xml file. It is a known problem but fixing it is problematic. *** This bug has been marked as a duplicate of bug 1804234 *** |
Description of problem: On fully updated system dnf updateinfo still reports applicable advisories. Version-Release number of selected component (if applicable): dnf-4.2.17-7.el8_2.noarch libdnf-0.39.1-6.el8_2.x86_64 How reproducible: always Steps to Reproduce: 1. dnf update -y 2. dnf install perl-DBD-Pg 3. dnf updateinfo --list Actual results: # dnf update -y ... Nothing to do. Complete! # dnf install perl-DBD-Pg ... Installing: perl-DBD-Pg x86_64 3.7.4-4.module+el8.1.1+4707+b0baf151 rhel-8-for-x86_64-appstream-rpms 215 k ... Enabling module streams: perl 5.26 perl-DBD-Pg 3.7 perl-DBI 1.641 ... Complete! # dnf updateinfo --list ... RHBA-2020:0347 bugfix perl-DBD-Pg-3.7.4-4.module+el8.1.1+4707+d3bacf56.x86_64 RHBA-2019:3337 bugfix perl-Digest-1.17-396.module+el8.1.0+2926+ce7246ad.noarch RHBA-2019:3337 bugfix perl-Digest-MD5-2.55-397.module+el8.1.0+2926+ce7246ad.x86_64 ... Expected results: # dnf updateinfo --list [no advisory reported] Additional info: # dnf module info perl-DBD-Pg Name : perl-DBD-Pg Stream : 3.7 [d][e] Version : 8010120191115065723 Context : 18319d51 [...] Requires : perl-DBI:[1.641] : perl:[5.24] : platform:[el8] Artifacts : perl-DBD-Pg-0:3.7.4-4.module+el8.1.1+4707+d3bacf56.src : perl-DBD-Pg-0:3.7.4-4.module+el8.1.1+4707+d3bacf56.x86_64 Name : perl-DBD-Pg Stream : 3.7 [d][e][a] Version : 8010120191115065723 Context : c5869bed [...] Requires : perl-DBI:[1.641] : perl:[5.26] : platform:[el8] Artifacts : perl-DBD-Pg-0:3.7.4-4.module+el8.1.1+4707+b0baf151.src : perl-DBD-Pg-0:3.7.4-4.module+el8.1.1+4707+b0baf151.x86_64 Updateinfo reported version (perl-DBD-Pg-3.7.4-4.module+el8.1.1+4707+d3bacf56.x86_64) is NEVRA-wise newer than installed version (perl-DBD-Pg-0:3.7.4-4.module+el8.1.1+4707+b0baf151.x86_64) but requires perl 5.24 module which is not installed so it should not be reported as an update.