Reputation: 783
I just did a fresh install of Fedora Server 21.
I am trying to execute yum groupinstall gnome
and I get an error message There is no installed groups file.
How can I fix this?
More info:
[root@localhost run]# yum groups list
Loaded plugins: langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Warning: no environments/groups match:
[root@localhost run]#
Upvotes: 1
Views: 8307
Reputation: 11
This happens because you're missing the group file like error says... What you need to do is re-create the repo pointing to the group file which is "comps.xml" file.
So:
createrepo -vg comps.xml /rpm-dir/
That will solve it
Upvotes: 1
Reputation: 1526
Installation of 'environment groups' fails due to conflicts between fedora-release packages
link to this item - Bugzilla: #1160917
Due to some limitations in how Fedora's package group mechanism works and some changes made to support the introduction of "Flavors" in Fedora 21, you may often encounter conflicts when trying to install the 'environment groups' seen in yum grouplist after installing Fedora 21. If you install a Fedora Flavor - Workstation, Cloud, or Server - it is likely that attempting to install any other 'environment group' will fail. If you use a non-Flavor install - for instance, install from a desktop live image - it is likely that you will be able to successfully install other non-Flavor environment groups, but not the environment groups associated with each Flavor.
The most common case in which you're likely to encounter this is trying to add extra desktops to a Workstation or other desktop installation. If you install Workstation and then want to add any other desktop, or install another desktop and then want to add GNOME and decide to try and use the 'Workstation' group, you will likely run into this problem.
Fortunately there is a fairly simple workaround for this problem: use the command yum groupinstall (group) --exclude fedora-release*, e.g. yum groupinstall kde-desktop-environment --exclude fedora-release*. Note that you must use exactly yum groupinstall. yum group install will not work.
It may not be possible to resolve this fully for Fedora 21. The bug report contains the detailed explanation of the problem, and solutions for it will likely be discussed there, if you wish to keep up to date.
Upvotes: 1
Reputation: 1526
Loaded plugins: langpacks, refresh-packagekit There is no installed groups file. Error: Cannot retrieve metalink for repository: fedora/19/x86_64. Please verify its path and try again
Solution In your terminal, run the following commands.
#yum clean all
#yum grouplist hidden
#yum grouplist
Perform these commands as super user (i.e) root user. Then see if your grouplist is in the list. If so, then try to install again.
Upvotes: 0
Reputation: 1
Have you tried ?
yum groupinstall "gnome"
https://access.redhat.com/solutions/15815
Upvotes: 0