Hi! I am installing Rocky 9.0 (Rocky-9.0-x86_64-minimal.iso
) with kickstart, and I have specified the following options:
%packages --ignoremissing --excludedocs
perl
perl-interpreter
%end
This produces the following output in the packaging.log
:
11:27:21,584 ERR dnf: No match for argument: perl
11:27:21,585 ERR dnf: No match for argument: perl-interpreter
However I am able to install perl using the post script section:
%post
dnf install -y perl
%end
Is that a known issue?
“Yes”
This output is from Alma 9, but should be close enough:
$ dnf -q list perl perl-interpreter
Installed Packages
perl-interpreter.x86_64 4:5.32.1-479.el9 @appstream
Available Packages
perl.x86_64 4:5.32.1-479.el9 appstream
Do observe that these packages are in repository “appstream”. Rocky has two main repositories with
“RHEL-content”: the “baseos” and the “appstream”.
The “minimal” image contains packages only from “baseos”. Perl is not in the image.
The %post
does access “appstream” of nearest mirror (unless you explicitly disable network).
1 Like