Bug 1899494
Summary: | Anaconda doesn't apply configuration from /etc/dnf/dnf.conf | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Oliver Falk <ofalk> | |
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> | |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | high | Docs Contact: | Sagar Dubewar <sdubewar> | |
Priority: | high | |||
Version: | 8.3 | CC: | james.antill, jkonecny, jstodola, kfujii, kwalker, pkratoch, pzatko, sbarcomb, sdubewar, yferszt | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | anaconda-33.16.7.6-1.el8 | Doc Type: | Bug Fix | |
Doc Text: |
.The installer no longer installs earlier versions of packages
Previously, the installer did not correctly load the DNF configuration file during the installation process. As a consequence, the installer sometimes installed earlier versions of select packages in the RPM transaction.
This bug has been fixed, and only the latest versions of packages are now installed from the installation repositories. In cases where it is impossible to install the latest versions of the packages, the installation fails as expected.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2053710 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 09:17:10 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
Oliver Falk
2020-11-19 12:12:54 UTC
Hi, thank you a lot for investigation. If the same issue is happening also for the direct `yum` calls then it's not a specific to Anaconda but rather problem DNF behavior. Switching component to DNF. With direct yum calls, it's obvious. The point here is that Anaconda should catch this somehow and provide the user with a more meaningful error message. And my additional point was that we should potentially think about if Anaconda should run DNF in a away that would prevent downgrading at all, since this will in almost all cases lead to a failure, as usually only the latest packages are available in the repositories. Oliver Reassigning back to anaconda based on the previous comment. After additional discussion, I am reassigning this back to dnf, because the error message should probably be improved already in dnf. As for the question whether Anaconda should run DNF in a way that would prevent downgrades, I don't think that's what's happening, because Anaconda just installs all the packages (it doesn't do any upgrades/downgrades). I'd say the problem is more likely in repositories (having inconsistent repodata). Based on the comment 13, I'm removing the FutureFeature because this seems like inconsistency in the Anaconda configuration. We should investigate the reasoning for not loading the best= option. Nice work, Kyle! RHEL-9 clone: bug 2053710 Upstream PR: https://github.com/rhinstaller/anaconda/pull/4183 Checked that anaconda-33.16.7.6-1.el8 is in nightly compose RHEL-8.7.0-20220623.0 Moving to VERIFIED 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 (anaconda bug fix and enhancement update), 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-2022:7462 |