Bug 1746562
| Summary: | dnf-automatic (and dnf list) ignores versionlock | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Daniel Henninger <daniel> | |
| Component: | dnf | Assignee: | Marek Blaha <mblaha> | |
| Status: | CLOSED ERRATA | QA Contact: | Luca Berton <lberton> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 8.0 | CC: | amatej, carl, james.antill, jblazek, kwalker, lberton, mblaha, mdomonko, rhel | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | dnf-4.2.11-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1868567 (view as bug list) | Environment: | ||
| Last Closed: | 2020-04-28 16:48:13 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1868567 | |||
|
Description
Daniel Henninger
2019-08-28 18:52:11 UTC
The dnf-automatic behaviour is definitely wrong and should be fixed by PR https://github.com/rpm-software-management/dnf/pull/1477 As far as dnf list is concerned - this behaviour is by design. Versionlock should not completely hide a package (if this is desired, use excludepkgs config option instead, see https://dnf.readthedocs.io/en/latest/conf_ref.html#exclude-label) but only makes sure that the package got installed only in particular version. So versionlock is not applied on any of non-transactional dnf command. Howdy! No problem re: dnf list, I only mentioned it because it was an example of something that changed since yum 3. I have no use case where this would be a bad thing. =) Thanks! This backport has been released in CentOS 8 Stream. https://lists.centos.org/pipermail/centos-devel/2020-January/036500.html Please test this and provide feedback if you're able. Tested on RHEL8 using the CentOS 8 built RPMs and it's working fantastically! Thanks! 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 |