Bug 437 - Minimal installation pulls lots of unwanted KDE packages
Summary: Minimal installation pulls lots of unwanted KDE packages
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-03-18 18:44 CET by Priscus
Modified: 2011-08-07 15:50 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
The package list as saved during installation (1.01 KB, text/plain)
2011-03-18 22:14 CET, Priscus
Details
The list of actually installed packages (13.68 KB, text/plain)
2011-03-18 22:16 CET, Priscus
Details
Installation logs for a minimal system (77.47 KB, application/x-gzip)
2011-03-19 17:58 CET, Priscus
Details
packages pulled by phonon-gstreamer (3.42 KB, text/plain)
2011-03-19 18:27 CET, Priscus
Details
packages pulled by kdelibs4-core (5.56 KB, text/plain)
2011-03-19 18:28 CET, Priscus
Details

Description Priscus 2011-03-18 18:44:09 CET
Description of problem:
When trying a fresh install from DVD, with minimal install, the result is over 800Mbytes, with about 550 packages. Many of them are KDE support packages, although KDE was not selected. 
The package selection saved after choosing minimal install seems reasonable, except for 2: 
- kdelibs4-core
- phonon-gstreamer
which then pull all their own dependencies. 

Version-Release number of selected component (if applicable):
Mageia 1 DVD, alpha 2

How reproducible:
Each attempt at a minimal install from DVD. 

Steps to Reproduce:
1. Boot from DVD
2. Choose "Custom" desktop
3. Deselect every group
4. Select individual package selection
(the system announces 803 Mbytes of installed size at this point)
5. When proposed different types of minimal install, choose no X, no suggested packages, with basic documentation, with urpmi (not truly minimal install). 
Save package selection for later verification
6. Launch the install: 530 packages for default choices, 525 if hunting for what few packages are actually selected
7. About 20 more packages get added at different stages of the installation. 
(I forgot to check the total size)
8. List installed packages: many KDE libs and dependencies are present. 
9. Check install-time saved packages list: small and reasonable, except for the presence of kdelibs4-core and phonon-gstreamer. 


Reproducible: 

Steps to Reproduce:
AL13N 2011-03-18 21:41:06 CET

CC: (none) => maarten.vanraes
Blocks: (none) => 56

Comment 1 Priscus 2011-03-18 22:14:42 CET
Created attachment 141 [details]
The package list as saved during installation

This is the package list saved during installation, for a minimal install. 
The interesting packages are kdelibs4-core (7th package in the list) and phonon-gstreamer (next to last), that should not be there.
Comment 2 Priscus 2011-03-18 22:16:41 CET
Created attachment 142 [details]
The list of actually installed packages

This is the result of an "rpm -qa | sort"
550 packages, many of them pulled as dependencies for the kdelibs4-core and phonon-gstreamer packages.
Comment 3 Priscus 2011-03-18 22:21:16 CET
In case I was not clear earlier, the kdelibs4-core and phonon-gstreamer packages are mandatory, automatic and invisible selections, whatever the user's choice: hence the huge minimal install with unwanted KDE packages.
Ahmad Samir 2011-03-18 23:40:52 CET

Blocks: 56 => (none)

Comment 4 Michael Scherer 2011-03-19 15:01:51 CET
We are looking at the issue since last week, but maybe that's not much related. phonon-gstreamer is pulled by kdelibs4-core, and this one is likely pulled by polkit-kde-agent-1. The question is "what pull this one", as it should be there.

CC: (none) => ennael1, misc

Comment 5 Priscus 2011-03-19 16:39:27 CET
No, that's not the case here. 
Both kdelibs4-core and phonon-gstreamer are in the package selection recorded from the installer: after selecting a minimal install, but before the packages are actually installed. 
They are not pulled by any other package: the DVD installer has them as part of the packages necessary for even a minimal install. 

polkit-kde-agent-1 is not one of those explicitly chosen packages, even if something pulls it later. 

See the first attachment for the short list of minimal packages (all 36 of them).
Comment 6 Ahmad Samir 2011-03-19 16:58:33 CET
Without the logs not much debugging can be done; please attach /root/drakx/report.bug.gz from the installed system.
Ahmad Samir 2011-03-19 16:58:39 CET

Keywords: (none) => NEEDINFO

Comment 7 Priscus 2011-03-19 17:58:16 CET
Created attachment 149 [details]
Installation logs for a minimal system

This is the installation log for a minimal installation plus locales and boot theme.
Comment 8 Priscus 2011-03-19 18:27:02 CET
Created attachment 150 [details]
packages pulled by phonon-gstreamer

This is the result of an "urpmq -d phonon-gstreamer"
Comment 9 Priscus 2011-03-19 18:28:23 CET
Created attachment 151 [details]
packages pulled by kdelibs4-core

This is the result of a "urpmq -d kdelibs4-core"
Comment 10 Ahmad Samir 2011-03-20 02:38:53 CET
My hunch is that is xguest suggested by userdrake, xguest requires 'dm', kdm is the first one on the list:
# urpmi --root chroot drakconf
In order to satisfy the 'SysVinit[>= 2.85-38]' dependency, one of the following packages is needed:
 1- sysvinit-2.87-9.mga1.x86_64: Programs which control basic system processes (to install)
 2- systemd-sysvinit-18-1.mga1.x86_64: System V init tools (to install)
What is your choice? (1-2) 1
In order to satisfy the 'webfetch' dependency, one of the following packages is needed:
 1- curl-7.21.2-2.mga1.x86_64: Gets a file from a FTP, GOPHER or HTTP server (to install)
 2- wget-1.12-5.mga1.x86_64: A utility for retrieving files using the HTTP or FTP protocols (to install)
 3- aria2-1.10.8-1.mga1.x86_64: Download utility with resuming and segmented downloading (to install)
What is your choice? (1-3) 1
In order to satisfy the 'polkit-agent' dependency, one of the following packages is needed:
 1- polkit-gnome-0.99-1.mga1.x86_64: PolicyKit integration for the GNOME desktop (to install)
 2- polkit-kde-agent-1-0.99.0-1.mga1.x86_64: PolicyKit authentication agent for KDE (to install)
What is your choice? (1-2) 1
In order to satisfy the 'libproxy-pac[>= 0.4.6]' dependency, one of the following packages is needed:
 1- libproxy-mozjs-0.4.6-5.mga1.x86_64: Plugin for libproxy and mozjs (to install)
 2- libproxy-webkit-0.4.6-5.mga1.x86_64: Plugin for libproxy and webkit (to install)
What is your choice? (1-2) 1
In order to satisfy the 'dm' dependency, one of the following packages is needed:
 1- kdm-4.6.1-4.mga1.x86_64: KDE Desktop Login Manager (to install)
 2- gdm-2.32.0-2.mga1.x86_64: The GNOME Display Manager (to install)
 3- slim-1.3.2-1.mga1.x86_64: Simple login manager (to install)
What is your choice? (1-3)



so it's, drakconf -> userdrake -> xguest -> kdm -> kdelibs. 

I ran many possibilities, and this is the only one that made the most sense to me, but of course that doesn't mean it's 100% correct....

I think there're two options:
- don't install xguest by default and don't have it on the DVD (that would be great alone and in itself)
- Always prefer GDM; between GDM and KDM, GDM has less requires, size/number-wise; (KDM requires kdelibs, qt4 among other things)
Comment 11 Priscus 2011-03-20 02:59:43 CET
That is a possibility, I suppose. 

But the minimal install I had chosen is not supposed to pull any suggested packages: if you are right, there is another problem with the minimal installation tuning (the step after the user deselects all package categories, and before the optional individual packages selection). 

It still does not explain why kdelibs4-code and phonon-gstreamer are in the automatically selected list (only 36 packages, see the first attachment below). Unless you have an explanation for this, I believe the problem is simply a misconfigured default package list in the DVD. 

I may be wrong, but to someone who knows how the installer works, it should be a simple check, far easier than all the detective work you've done. 

So we have two main possibilities: 
- you're right and the "no suggests" option in the minimal installation does not work (besides what you've already uncovered)
- or I'm right and there are just two extra packages in the minimal install list (and they pull in a lot of extra dependences).
Comment 12 Anne Nicolas 2011-03-20 09:10:07 CET
(In reply to comment #10)

> so it's, drakconf -> userdrake -> xguest -> kdm -> kdelibs. 
> 
> I ran many possibilities, and this is the only one that made the most sense to
> me, but of course that doesn't mean it's 100% correct....
> 
> I think there're two options:
> - don't install xguest by default and don't have it on the DVD (that would be
> great alone and in itself)
> - Always prefer GDM; between GDM and KDM, GDM has less requires,
> size/number-wise; (KDM requires kdelibs, qt4 among other things)

xguest is not on dual... and still polkit-agent-kde is there... I even built isos using specifically lxdm as session manager
Comment 13 Manuel Hiebel 2011-06-30 17:11:44 CEST
Still present in the final ? for the kde package ? for the no-suggest ?
Comment 14 Priscus 2011-07-19 21:11:40 CEST
I checked just now: the final DVD is clean (i586 edition). 
No unexpected KDE packages this time. 

The final near-minimal install still feels larger than it should, but I haven't looked at it much, so I will not complain. There is probably a large pull with the mageia-gfxboot-theme package, even with the no-suggest, as it's my only deviation from the default minimal install. 
I'll have another look at it sometime.
Comment 15 Manuel Hiebel 2011-08-07 15:50:53 CEST
so we can close this bug
see bug 609 if are some suggestion

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


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