Bug 1340059

Summary: Cannot install KDE after a GNOME install due to unprovided packages in base-x
Product: [Fedora] Fedora Reporter: Ed Greshko <ed.greshko>
Component: compsAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: kevin, rdieter, vpavlin
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-05-26 12:07:40 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 Ed Greshko 2016-05-26 11:41:17 UTC
Description: 

This fails...

[root@f24b-g ~]# dnf groupinstall "KDE Plasma Workspaces"
Last metadata expiration check: 0:56:33 ago on Thu May 26 10:27:08 2016.
No package xorg-x11-drv-mga available.
Error: Unable to find a mandatory group package.

Due to....

[root@f24b-g ~]# dnf group info base-x
Last metadata expiration check: 1:28:06 ago on Thu May 26 10:27:08 2016.

Group: base-x
 Description: Local X.org display server
 Mandatory Packages:
   glx-utils
   mesa-dri-drivers
   plymouth-system-theme
   xorg-x11-drv-armsoc
   xorg-x11-drv-ati
   xorg-x11-drv-evdev
   xorg-x11-drv-fbdev
   xorg-x11-drv-freedreno
   xorg-x11-drv-intel
   xorg-x11-drv-mga
   xorg-x11-drv-modesetting
   xorg-x11-drv-nouveau
   xorg-x11-drv-omap
   xorg-x11-drv-openchrome
   xorg-x11-drv-qxl
   xorg-x11-drv-synaptics
   xorg-x11-drv-vesa
   xorg-x11-drv-vmmouse
   xorg-x11-drv-vmware
   xorg-x11-drv-wacom
   xorg-x11-server-Xorg
   xorg-x11-utils
   xorg-x11-xauth
   xorg-x11-xinit
 Optional Packages:
   xorg-x11-drv-geode

This contains several packages that don't exist....

[root@f24b-g ~]# dnf info xorg-x11-drv-omap
Last metadata expiration check: 1:30:33 ago on Thu May 26 10:27:08 2016.
Error: No matching Packages to list

[root@f24b-g ~]# dnf info xorg-x11-drv-modesetting
Last metadata expiration check: 1:31:27 ago on Thu May 26 10:27:08 2016.
Error: No matching Packages to list

So, the xorg-x11 packages which aren't being provided need to be removed from the base-x definition.

Packages to be added: 

Comps group:  

Default: 

Mandatory: 

Visible: 

Multi-lib: 

Need to be present for arches:

Comment 1 Ed Greshko 2016-05-26 11:41:50 UTC
Affects F24 as well.

Comment 2 Rex Dieter 2016-05-26 11:45:46 UTC
It's possible part of this could be a dnf bug too.

That said, comps probably shouldn't include references to non-existent packages either.  I'll work on a pull request for that.

Comment 3 Rex Dieter 2016-05-26 12:02:39 UTC
Missing items on my f24/x86_64 box, and mentioning pkg (Exclude/Exlusive)|Arch tags:

xorg-x11-drv-armsoc : ExclusiveArch: %{arm} aarch64
xorg-x11-drv-freedreno : ExclusiveArch: %{arm} aarch64
xorg-x11-drv-mga : dead.package
xorg-x11-drv-modesetting : dead.package (Obsoletes/Provides: xorg-x11-server-Xorg)
xorg-x11-drv-omap : ExclusiveArch: %{arm}

So, we can definitely remove the items that no longer exist, but not sure how arch-specific packages are supposed to be handled:
* does comps have any way to mark something arch-specific?
* should dnf handle this more gracefully (and be non-fatal)?

Comment 4 Rex Dieter 2016-05-26 12:07:40 UTC
ah, appears already reported and tracked @ bug #1339742 , marking as dup

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