Re: [CentOS] Going back to a minimal system : strange problem

2018-03-01 Thread Gordon Messmer
On 02/26/2018 09:25 AM, Nicolas Kovacs wrote: 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

Re: [CentOS] Going back to a minimal system : strange problem

2018-02-26 Thread Nicolas Kovacs
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

Re: [CentOS] Going back to a minimal system : strange problem

2018-02-26 Thread Nicolas Kovacs
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

Re: [CentOS] Going back to a minimal system : strange problem

2018-02-26 Thread Gordon Messmer
On 02/26/2018 06:03 AM, Nicolas Kovacs wrote: This script worked perfectly for some time. But now it seems like something has changed somewhere under the hood. Because when I run it now, the script fails at the final package removal stage. I would hazard to guess that the flaw is simply that

[CentOS] Going back to a minimal system : strange problem

2018-02-26 Thread Nicolas Kovacs
Hi, Some time ago I wrote a little script elaguer.sh ("élaguer" means "to prune") which simply removes all packages that are *not* part of a minimal installation. First I created a list of packages that make up a minimal CentOS installation. On a fresh install, I would do something like this: #