Bug 1147523

Summary: missing group info environment group support
Product: [Fedora] Fedora Reporter: Parag Nemade <pnemade>
Component: dnfAssignee: Honza Silhan <jsilhan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, jzeleny, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.6.3-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-13 09:53:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Parag Nemade 2014-09-29 13:08:18 UTC
Description of problem:
on F21 system, I ran the command
$ sudo dnf group info "LXDE Desktop"
Warning: Group LXDE Desktop does not exist.


Version-Release number of selected component (if applicable):
$ rpm -qa | grep dnf
python3-dnf-0.6.1-1.fc21.noarch
dnf-langpacks-0.3.1-2.fc21.noarch
dnf-0.6.1-1.fc21.noarch
dnf-plugins-core-0.1.3-1.fc21.noarch


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
says group does not exist

Expected results:
it should provide information about LXDE group

Additional info:

I see many other groups are also not working. So looks like issue with "info" option to "dnf group" command

Comment 1 Parag Nemade 2014-09-29 13:17:05 UTC
I tried to query for all installed/available group/environments and output is

Warning: Group Cinnamon Desktop does not exist.
Warning: Group Development and Creative Workstation does not exist.
Warning: Group Fedora Cloud Server does not exist.
Warning: Group Fedora Server does not exist.
Warning: Group Fedora Workstation does not exist.
Warning: Group GNOME Desktop does not exist.
Warning: Group Infrastructure Server does not exist.
Warning: Group KDE Plasma Workspaces does not exist.
Warning: Group LXDE Desktop does not exist.
Warning: Group MATE Desktop does not exist.
Warning: Group Minimal Install does not exist.
Warning: Group Web Server does not exist.
Warning: Group Xfce Desktop does not exist.

Comment 2 Tim Lauridsen 2014-09-29 15:15:11 UTC
This is a little strange
sudo dnf group list -v | grep -i lxde

   LXDE Desktop (lxde-desktop-environment)

The following works:

sudo dnf group info "lxde" 
sudo dnf group info "LXDE"
sudo dnf group info "lxde-desktop"

The following dont work

sudo dnf group info "lxde-desktop-environment"
sudo dnf group info "LXDE Desktop"

Comment 3 Parag Nemade 2014-09-29 16:08:00 UTC
I guess whichever group we are passing if its mentioned in comps as <groupid>....</groupid> or in a <group>.....</group> then only its working otherwise not.

Comment 4 Honza Silhan 2014-09-30 18:23:08 UTC
Hi, thanks for the report. Now DNF doesn't handle environment groups from 'group info' command. I'll take a look.

Comment 5 Honza Silhan 2014-10-08 20:06:19 UTC
Fixed in the upstream.

Comment 6 Fedora Update System 2014-12-09 14:06:30 UTC
dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21

Comment 7 Fedora Update System 2014-12-12 04:32:34 UTC
Package dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.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 dnf-0.6.3-2.fc21 hawkey-0.5.2-1.fc21 dnf-plugins-core-0.1.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16760/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-12-13 09:53:35 UTC
dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.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.