Bug 2158210

Summary: anaconda writes incorrect yum.conf entry with repo --includepkgs option
Product: Red Hat Enterprise Linux 9 Reporter: Radek Vykydal <rvykydal>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact: Sagar Dubewar <sdubewar>
Priority: unspecified    
Version: 9.1CC: anaconda-maint-list, bstinson, jikortus, jkonecny, jstodola, jwboyer, peter, release-test-team-automation, rvykydal, sdubewar, steve.traylen, vponcova
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-34.25.2.5-1.el9 Doc Type: Bug Fix
Doc Text:
.The installer now adds configuration options correctly into the yum repo files Previously, the installer did not add configuration options correctly into yum repo files while including and excluding packages from additional installation repositories. With this update, yum repo files are created correctly. As a result, using the `--excludepkgs=` or `--includepkgs=` options in the `repo` kickstart command now excludes or includes the specified packages during installation as expected.
Story Points: ---
Clone Of: 2014103 Environment:
Last Closed: 2023-05-09 07:35:42 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:

Comment 1 Radek Vykydal 2023-01-04 16:58:11 UTC
https://github.com/rhinstaller/anaconda/pull/4489

Comment 6 Jan Stodola 2023-01-13 16:20:57 UTC
Checked that anaconda-34.25.2.5-1.el9 is in nightly compose RHEL-9.2.0-20230111.33

Moving to VERIFIED

Comment 9 errata-xmlrpc 2023-05-09 07:35:42 UTC
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-2023:2223