Bug 785253 - groupremove language support too aggressive for some languages
Summary: groupremove language support too aggressive for some languages
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-27 19:28 UTC by Andrew Haveland-Robinson
Modified: 2014-01-21 23:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 20:33:06 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.