Bug 1156084 - dnf install @some-environment-id does not work
dnf install @some-environment-id does not work
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Honza Silhan
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2014-10-23 10:18 EDT by Jan Zeleny
Modified: 2015-02-20 03:32 EST (History)
6 users (show)

See Also:
Fixed In Version: hawkey-0.5.3-2.fc21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-02-20 03:32:51 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
proposed patch to fix the issue (1.84 KB, application/mbox)
2014-10-23 10:18 EDT, Jan Zeleny
no flags Details

  None (edit)
Description Jan Zeleny 2014-10-23 10:18:11 EDT
Created attachment 949928 [details]
proposed patch to fix the issue

The problem is simply reproducible:

dnf install @kde-desktop-environment

The installation fails, specifying that the group does not exist. The problem is that when performing the install operation, dnf searches through comps and looks for group with the specified name. However, kde-desktop-environment is not a group, it's an environment. Therefore the installation fails.

I attach a very rough patch that fixes the issue, hope that helps.
Comment 1 Honza Silhan 2014-11-04 07:47:21 EST
Thanks for help. I made pull request that refactors these commands so the code of "@..." and "group ... ..." uses the same code and works also for "dnf erase @...".
Comment 2 Fedora Update System 2015-02-15 19:03:37 EST
dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 has been submitted as an update for Fedora 21.
Comment 3 Fedora Update System 2015-02-17 03:04:29 EST
Package hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.5.3-2.fc21 dnf-plugins-core-0.1.5-1.fc21 dnf-0.6.4-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 4 Fedora Update System 2015-02-20 03:32:51 EST
hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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