Bug 117

Summary: Choosing GNOME-only installation still installs several KDE4 core libraries in Alpha2
Product: Mageia Reporter: Dick Gevers <dvgevers>
Component: InstallerAssignee: Anne Nicolas <ennael1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: balcaen.john, lovaren, pterjan, thierry.vignaud
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: meta-task CVE:
Status comment:
Attachments: oops I thought I'd done that already
prefers polkit-gnome over polkit-kde* for GNOME

Description Dick Gevers 2011-02-19 19:02:35 CET
Description of problem:

Install from the dvd and choose only 'GNOME'. The package detail shows, however, that a lot of KDE4 libraries are installed. This appears to be quite superfluous.



Reproducible: 

Steps to Reproduce:
Comment 1 Ahmad Samir 2011-02-25 00:43:49 CET
Please attach /root/drakx/report.bug.gz from the installed system.

Also if you could attach a list of the kded libs you mentioned that would be great.

Keywords: (none) => NEEDINFO

Comment 2 Dick Gevers 2011-02-25 02:27:58 CET
Created attachment 32 [details]
oops I thought I'd done that already
Comment 3 Dick Gevers 2011-02-25 02:35:34 CET
from the install.log in report.bug.gz:

kde4-style-iaora-common-0.3.1-2.mga1.x86_64.rpm
kde-l10n-en_US-4.6.0-3.mga1.x86_64.rpm 
mageia-kde4-config-common-1-0.9.mga1.noarch.rpm 
Default-kde4-config-1-0.9.mga1.noarch
kdelibs4-core-4.6.0-3.mga1.x86_64.rpm
lib64kjsembed4-4.6.0-3.mga1.x86_64.rpm
lib64kunittest4-4.6.0-3.mga1.x86_64.rpm
lib64kfile4-4.6.0-3.mga1.x86_64.rpm
lib64khtml5-4.6.0-3.mga1.x86_64.rpm
lib64kdecore5-4.6.0-3.mga1.x86_64.rpm
lib64krosscore4-4.6.0-3.mga1.x86_64.rpm
lib64nepomuk4-4.6.0-3.mga1.x86_64.rpm
lib64kcmutils4-4.6.0-3.mga1.x86_64.rpm
lib64kntlm4-4.6.0-3.mga1.x86_64.rpm 
lib64kparts4-4.6.0-3.mga1.x86_64.rpm
lib64nepomukutils4-4.6.0-3.mga1.x86_64.rpm 
kde4-style-iaora-0.3.1-2.mga1.x86_64.rpm
polkit-kde-agent-1-0.99.0-1.mga1.x86_64.rpm
lib64ktexteditor4-4.6.0-3.mga1.x86_64.rpm
lib64kio5-4.6.0-3.mga1.x86_64.rpm
lib64nepomukquery4-4.6.0-3.mga1.x86_64.rpm
lib64kemoticons4-4.6.0-3.mga1.x86_64.rpm 
lib64katepartinterfaces4-4.6.0-3.mga1.x86_64.rpm 
lib64kdeui5-4.6.0-3.mga1.x86_64.rpm 
lib64kdecorations4-4.6.0-3.mga1.x86_64.rpm 
lib64kdeui5-4.6.0-3.mga1.x86_64
lib64kdecore5-4.6.0-3.mga1.x86_64
kdelibs4-core-4.6.0-3.mga1.x86_64
lib64kdecorations4-4.6.0-3.mga1.x86_64
Comment 4 Ahmad Samir 2011-02-25 04:39:22 CET
On IRC blino said it's related to the polkit-agent requires:
$ urpmf --provides polkit-agent | grep -v lib
polkit-gnome:polkit-agent
polkit-kde-agent-1:polkit-agent

hopefully should be fixed soon.

Keywords: NEEDINFO => Triaged

Comment 5 James Kerr 2011-03-02 17:16:04 CET
*** Bug 250 has been marked as a duplicate of this bug. ***

CC: (none) => kristoffer.grundstrom1983

Thierry Vignaud 2011-03-03 16:52:56 CET

CC: (none) => thierry.vignaud
Component: Installation => RPM Packages
Source RPM: mageia-dvd-1-x86_64.iso => polkit

Comment 6 Ahmad Samir 2011-03-04 02:50:00 CET
Actually it's an installer bug, in how the deps are getting computed; IIUC.

(Or it's a bug in urpmi?).

Component: RPM Packages => Installation

Comment 7 Kristoffer Grundström 2011-03-04 10:10:11 CET
I'd say Installer.
Comment 8 Thierry Vignaud 2011-03-04 10:42:02 CET
I'd like to see hard evidences first.
What's more, the Installer just uses urpmi...

just runs something like this:
mkdir mychroot
urpmi.addmedia --urpmi-root mychroot
urpmi --urpmi-root mychroot --debug -v basesystem task-gnome 2>&1|tee LOG.t-g

and see what brings kde...
My bet is some stupid suggest loop somewhere
Comment 9 Ahmad Samir 2011-03-05 19:59:19 CET
Not a suggests; two packages provide polkit-agent, see comment#4.

The proof is in the log:
* packageCallbackChoices: default choice ('polkit-kde-agent-1') from polkit-kde-agent-1,polkit-gnome for polkit-agent

* trans: scheduling update of polkit-kde-agent-1-0.99.0-1.mga1.x86_64 (id=1069, file=/tmp/image/media/core/polkit-kde-agent-1-0.99.0-1.mga1.x86_64.rpm)

the installer picked polkit-kde-agent although this is the GNOME install.
Comment 10 Thierry Vignaud 2011-03-06 22:09:14 CET
We could alter /etc/urpmi/prefer.vendor.list but that's not a proper fix.
I think some core package in both GNOME & KDE should pick the proper one.

Or defaulting to polkit-gnome in /etc/urpmi/prefer.vendor.list and having kdebase requiring polkit-kde-agent. That might do it
Comment 11 John Balcaen 2011-03-07 00:00:13 CET
Maybe we can try the last option for the next iso ?
I'm adding polkit-kde-agent as a Require on kdebase for the moment.

Regards,

CC: (none) => balcaen.john

Ahmad Samir 2011-03-14 00:12:12 CET

CC: (none) => pterjan

Thierry Vignaud 2011-03-14 11:04:41 CET

Status: NEW => ASSIGNED
Source RPM: polkit => meta-task

Thierry Vignaud 2011-03-14 11:05:13 CET

Assignee: bugsquad => ennael1

Comment 12 Thierry Vignaud 2011-03-14 11:07:06 CET
Created attachment 109 [details]
prefers polkit-gnome over polkit-kde* for GNOME

This patches fixes it.
I cannot commit it right now.
I may be able to do around 13h or around 19h (Paris TMZ) so if someone wants to commits it and submit meta-task...
Comment 13 Anne Nicolas 2011-03-14 11:31:40 CET
committed and submitted
Comment 14 Dick Gevers 2011-03-18 16:52:41 CET
Much better in Alpha2:

From a finished GNOME only install of Alpha2:

rpm -qa |grep kde

kde-l10n-en_US-4.6.1-3.mga1
mageia-kde4-config-common-1-0.14.mga1
lib64kdecorations4-4.6.1-2.mga1
kde4-style-iaora-0.3.1-2.mga1
Default-kde4-config-1-0.14.mga1
polkit-kde-agent-1-0.99.0-1.mga1
lib64lockdev1-1.0.3-13.mga1
kde4-style-iaora-common-0.3.1-2.mga1
lib64kdeui5-4.6.1-3.mga1
lib64kdecore5-4.6.1-3.mga1
kdelibs4-core-4.6.1-3.mga1
Dick Gevers 2011-03-18 16:55:23 CET

Summary: Choosing GNOME installation installs a big bunch of KDE4 core libraries => Choosing GNOME-only installation still installs several KDE4 core libraries in Alpha2

Comment 15 Dick Gevers 2011-04-09 13:00:02 CEST
Completely fixed in beta 1

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED