Le 26/02/2018 à 16:12, Gordon Messmer a écrit : > I would hazard to guess that the flaw is simply that from time to > time, packages are added to the minimal install as a side effect of > adding in new dependencies. If you had a minimal install and simply > ran "yum update", you would periodically see yum report that it would > install new packages for dependencies, in addition to the updates. > As that is the case, you will need to update your minimal package > list immediately before running the pruning script in order to avoid > removal of core packages. That was my thought also, but the only difference between a fresh installation of CentOS 7.4 and the updated version as of today is the replacement of grub2 by grub2-tools, so that's not the reason apparently. > > I wonder if it might work to use a yum transaction, in which you > first remove everything (which avoids the need for the list > entirely), then adds the minimal package set, and then commits the > transaction... I only have a very vague notion of yum transactions, so I'll look into that and report back. Cheers, Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : info@xxxxxxxxxxxxx Tél. : 04 66 63 10 32 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos