Hide Forgot
Description of problem: Want to remove unused languages using yum groupremove, but some languages have dejavu font as a dependency, and it is too aggressive in wanting to remove everything else that depends on it, such as rrd and munin. Want to have option to groupremove unused languages, but skip these dependencies. yum groupremove urdu-support --exclude=dejavu-sans-fonts doesn't work. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. yum groupremove urdu-support 2. 3. Actual results: Removing: dejavu-sans-fonts dejavu-sans-mono-fonts kacst-art-fonts kacst-book-fonts kacst-decorative-fonts kacst-digital-fonts kacst-farsi-fonts kacst-letter-fonts kacst-naskh-fonts kacst-office-fonts kacst-one-fonts kacst-pen-fonts kacst-poster-fonts kacst-qurn-fonts kacst-screen-fonts kacst-title-fonts kacst-titlel-fonts paktype-naqsh-fonts paktype-tehreer-fonts Removing for dependencies: cacti munin perl-Log-Log4perl rrdtool rrdtool-perl libreoffice* etc! Expected results: Removing: kacst-art-fonts kacst-book-fonts kacst-decorative-fonts kacst-digital-fonts kacst-farsi-fonts kacst-letter-fonts kacst-naskh-fonts kacst-office-fonts kacst-one-fonts kacst-pen-fonts kacst-poster-fonts kacst-qurn-fonts kacst-screen-fonts kacst-title-fonts kacst-titlel-fonts paktype-naqsh-fonts paktype-tehreer-fonts Additional info: yum groupremove urdu-support wants to uninstall munin, libreoffice too, just because of the shared font! removing gujarati-support works fine. These groups also have a dejavu dependencies: arabic-support armenian-support georgian-support hebrew-support inuktitut-support lao-support tajik-support urdu-support venda-support yiddish-support Inexplicably, attempting to groupremove the obscure inuktitut-support results in wanting to uninstall the whole of libreoffice too. After much research, there still needs to be a clear and easy method of being able to install a minimal version of fedora on small machines with only the locales languages and docs wanted, instead of carrying half a gigabyte of stuff that'll never be used, and without needing a PhD to optimize it.
That's what group remove always did ... you can use "yum remove @foo -bar" to "exclude a removal, but we'll soon be rolling out "groups as objects" which should solve this kind of problem.