The Redhat kickstart documentation describes how to deselect/exclude packages in the packages section - i.e. one may put - in front of a package name to exclude it.

But it doesn't fully work in this example (when installing CentOS 7):


Anaconda still installs some of the excluded packages, i.e.:


Why aren't all excluded? How to I effectively include more of them?

Note that after the first reboot yum remove *firmware does select linux-firmware for removal without any dependencies.

Removal of the others would also remove some inverse-dependent packages - e.g. for teamd the NetworkManager-team package. The only dramatic one is pinentry, which is required by yum, and thus yum rightfully refuses to remove it.

  • Some of the package you mention are in the @core group default packages and might be installed therefore?
    – Thomas
    Jan 19, 2019 at 9:31
  • @Thomas, linux-firmware is part of @core (in the Default Packages section) but also many others like postfix and iwl*firmware which are properly excluded. Jan 19, 2019 at 11:12

1 Answer 1


if you want to have complete control of this, there's 3 flags relevant to this - they are listed behind %packages

  • nocore
  • nobase
  • nodeps (?)

For you, the core group is the problem. But these mean what they mean, especially the third one. The system will then only install what you explicitly list in your %packages section. I've done this for industrial-style systems, and the process included using ldd on every executable binary to check for missing libs etc.

The sane path is to work from the full rpm list of an installed system, and to allow for deps to be installed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .