Bug 1347122

Summary: dnf refuses to install the lxqt group (reports it as already installed)
Product: [Fedora] Fedora Reporter: Joachim Backes <joachim.backes>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: jmracek, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-20 11:58:45 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 Joachim Backes 2016-06-16 06:10:35 UTC
Description of problem:

I installed f24 workstation with gnome as desktop environment. Then I wanted to install lxqt as an additional group by

sudo dnf group install lxqt

This fails:
sudo dnf group install lxqt
Last metadata expiration check: 0:12:52 ago on Thu Jun 16 07:28:59 2016.
Group 'LXQt' is already installed, skipping.
Dependencies resolved.
Nothing to do.

I'm sure that I never installed the lxqt group. Then I checked dnf for installed environment group:

dnf group list

...
Installed environment groups:
   KDE Plasma Workspaces
   Xfce Desktop
   LXDE Desktop
   LXQt Desktop
   MATE Desktop
...

I never installed one of these groups, I'm sure.

So I tried "dnf group info lxqt", and a lot of packages are reported:


dnf group info lxqt
Last metadata expiration check: 0:32:12 ago on Thu Jun 16 07:12:21 2016.

Group: LXQt
 Description: LXQt is a lightweight X11 desktop environment designed for computers with low hardware specifications like netbooks, mobile devices or older computers.
 Mandatory Packages:
   ark
   breeze-cursor-theme
   breeze-gtk
   breeze-icon-theme
   fedora-icon-theme
   firewall-config
   initial-setup-gui
   kwin
   lxqt-about
   lxqt-common
   lxqt-config
   lxqt-globalkeys
   lxqt-notificationd
   lxqt-openssh-askpass
   lxqt-panel
   lxqt-policykit
   lxqt-powermanagement
   lxqt-qtplugin
   lxqt-runner
   lxqt-session
   network-manager-applet
   nm-connection-editor
   notification-daemon
   obconf
   openbox
   pcmanfm-qt
   perl-File-MimeInfo
   qterminal-qt5
   qupzilla
   sddm
   sddm-breeze
   upower
   xdg-user-dirs

But the command 

rpm -q $(dnf groupinfo lxqt|tail -n +6)

reports almost all of the packages  listed above as not installed,
so why this discrepancy?

I tried already "dnf clean all", but this did't help.

Additionally, all other environment groups listed above are not installed, so why are they listed as installed environment groups? Also after dnf clean all"?

Version-Release number of selected component (if applicable):
dnf-1.1.9-2.fc24.noarch

How reproducible:
always

Steps to Reproduce:
1.sudo dnf groupinstall lxqt
2.
3.

Actual results:
Last metadata expiration check: 0:28:45 ago on Thu Jun 16 07:28:59 2016.
Group 'LXQt' is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!


Expected results:
Installation of group lxqt

Additional info:

Comment 1 Joachim Backes 2016-06-20 08:25:27 UTC
I could solve the problem by 

sudo  dnf group mark remove lxqt
sudo dnf group install lxqt

Comment 2 Jaroslav Mracek 2016-06-20 11:58:45 UTC
The group marking was refactored and the fix is under review.

*** This bug has been marked as a duplicate of bug 1318852 ***