Bug 785253

Summary: groupremove language support too aggressive for some languages
Product: [Fedora] Fedora Reporter: Andrew Haveland-Robinson <andy>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: ffesti, james.antill, maxamillion, pmatilai, tla, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 20:33:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrew Haveland-Robinson 2012-01-27 19:28:00 UTC
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.

Comment 1 James Antill 2012-01-30 20:33:06 UTC
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.