Peter
2016-May-07 12:57 UTC
[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?
On 07/05/16 23:16, Nicolas Kovacs wrote:> After some more trial and error, I managed to resolve the problem in a > pragmatic way by doing the following after purging the system: > > # yum groupinstall "Core" > # yum groupinstall "Base" > > So the missing culprit(s) must have been somewhere in the "Base" package > group, or at least a dependency to one or more of its packages.Rather than remove them and add them back use yum shell to just remove the packages not in base or core: yum shell remove * install kernel @core @base run quit Peter
Nicolas Kovacs
2016-May-07 13:53 UTC
[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?
Le 07/05/2016 14:57, Peter a ?crit :> Rather than remove them and add them back use yum shell to just remove > the packages not in base or core: > > yum shell > remove * > install kernel @core @base > run > quitSounds interesting. Does this work in a script? -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Web : http://www.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32
Peter
2016-May-07 14:02 UTC
[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?
On 08/05/16 01:53, Nicolas Kovacs wrote:> Le 07/05/2016 14:57, Peter a ?crit : >> Rather than remove them and add them back use yum shell to just remove >> the packages not in base or core: >> >> yum shell >> remove * >> install kernel @core @base >> run >> quit > > Sounds interesting. Does this work in a script?Yes, but you need to put the yum shell commands in a separate file. See yum-shell(8) for details. Peter
Maybe Matching Threads
- Reduce existing CentOS 7 installation to "Minimal install" - services?
- Reduce existing CentOS 7 installation to "Minimal install" - services?
- Reduce existing CentOS 7 installation to "Minimal install" - services?
- Reduce existing CentOS 7 installation to "Minimal install" - services?
- Reduce existing CentOS 7 installation to "Minimal install" - services?