On 04/27/2015 01:47 PM, Matthew Miller wrote:
On Mon, Apr 27, 2015 at 11:58:08AM -0500, Les Mikesell wrote:
Is there an 'after the fact' way to find what yum groups are installed, including ones that were added with 'yum groupinstall' instead of the initial anaconda install?
Yes. "yum grouplist" will tell you the groups that are currently in the installed state. Worth reading the manpage to see exactly what yum thinks that "installed" means:
Groups are marked as "installed" if all mandatory packages are installed, or if a group doesn’t have any mandatory packages then it is installed if any of the optional or default package are installed. [...]
But, I think that is a YUM database and not based on the RPM database, so it is possible that you can have all the RPMs for a group installed and not actually have it listed as installed.
At least I sometimes find myself in that position. But I also wipe out /var/cache/yum/ sometimes.