Description of problem: According to this email on the yum-devel list https://lists.dulug.duke.edu/pipermail/yum-devel/2006-February/001896.html The format of the comps.xml file was changed recently to support conditional packages that could be installed when certain requirements were met. I think the only use for this at the moment is to install language support packages for applications like open office, aspell and for KDE. From what I can tell from reading this email: https://lists.dulug.duke.edu/pipermail/yum-devel/2006-February/001923.html A yum plugin is needed for this to work properly, and as this plugin has not made it into the yum that is packaged for Rawhide installation of language support doesn't work properly. Version-Release number of selected component (if applicable): yum-2.5.1-5 How reproducible: yum groupinstall 'Chinese Support' Actual results: Only installs mandatory and default packages. Expected results: Installs mandatory, default and conditional packages(if requirements are met)
Created attachment 124927 [details] yum plugin to support conditional package request type
Created attachment 124928 [details] patch to yum spec file patch to yum spec file that I used to test the condgroup plugin.
Created attachment 124929 [details] patch to yum spec file patch to yum spec file that I used to test the condgroup plugin.
I used the plugin available at the second URL, with the version of yum in rawhide and FC5 test3 and encountered some problems. One of which was that if a group contained only conditional package requests such as the group 'Danish Support' then no packages would get installed. If a group contained both mandatory and conditional packages then the conditional packages would be installed if the requirements were met, but although yum groupinstall 'Hindi Support' worked and installed all the conditional packages correctly, yum groupinstall 'Chinese Support' would not and gave me an error. I've attached the condgroup plugin and a patch to the yum spec file that I used.
Comment on attachment 124928 [details] patch to yum spec file removing dupe of patch
adding the person who worked on making the "conditional" thing
Created attachment 124959 [details] Updated plugin I've an updated version of the plugin which I'd be grateful if you would test before commiting. This will resolve deps for conditional packages in the group.
I installed Test3 this morning without any extra language support and did a little testing with the updated plugin. I tried yum groupinstall for 'Chinese Support', 'Danish Support' and 'Hindi Support'. I've attached a log that showing that using the existing yum installation of conditional packages fails in each case. I then installed an updated yum which was built using the updated plugin and the yum spec file patch and performed the same tests. You can see from the log that although 'Chinese Support' and 'Hindi Support' both work correctly and conditional packages are scheduled for installation 'Danish Support' fails, I'm guessing this has something to do with the fact that the 'Danish Support' package group only contains conditional packages.
Created attachment 124997 [details] log of conditional group support in yum
Nasrat, when this plugin is working fully, do we plan on enabling it by default in our Fedora yum package?
Togami, the plan is to move this functionality into yum core rather than as a plugin.
Will be in yum 2.6 final and rawhide yum 2.5.3-3