Bug 609 - Minimal installation is too big
Summary: Minimal installation is too big
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
: 1750 (view as bug list)
Depends on: 371
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-01 11:53 CEST by Georges Eckenschwiller
Modified: 2011-10-18 22:07 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
List of packages installed by minimal installation, sorted by size (9.48 KB, text/plain)
2011-09-01 09:50 CEST, Buchan Milne
Details
Package list (14.51 KB, text/plain)
2011-09-17 07:30 CEST, Georges Eckenschwiller
Details

Description Georges Eckenschwiller 2011-04-01 11:53:13 CEST
Description of problem:

Hello,

To install the Xfce desktop, I do a minimal installation.
Until now, I doing an installation without X, but with urpmi.
Then I install the packages that I really need.
(I saw that you have correct dependencies with i586, but they stay with x86_64.)

However, this approach poses installing and configuration problems (Report 576)

I now do a minimal install, but with X from the start :
It installs a desktop icewm, which suits me entirely.

However, there are other packages quite unnecessary, about 130.
(docbook-dtds, qt4-common and their dependencies)

Can you filter this?


Reproducible: 

Steps to Reproduce:
Comment 1 Georges Eckenschwiller 2011-04-10 20:06:02 CEST
I continued in my approach and my tests.

To install Xfce optimally, we must do a custom install, removing all the package groups and then validating the installation of the X server.
This installs the desktopl IceWm-minimal, which is very good solution.

However, I think the display manager kdm should be replaced by xdm, much more simple and lightweight. That would be the saving of approx 130 packages, as already indicated.
xdm seems more opproprie an desktop as IceWM or Xfce. It is also automatically installed, but not used.

Its appearance can be improved very easily (see Report 758)

xdm can also use autologin.
There remains however a problem:
When autologin with xdm is valid, I can not stop the computer with the icon.
I can just disconnect. Other functions (halt, reboot) are invalidated.
I did not find out how.

An idea?
Peter D 2011-04-13 03:31:02 CEST

CC: (none) => 0123peter
Summary: Minimal installation is to big => Minimal installation is too big

Comment 2 Manuel Hiebel 2011-06-30 17:12:10 CEST
Still present in the final ?
Comment 3 Georges Eckenschwiller 2011-07-03 08:07:04 CEST
Yes, the installation has not changed, nor on 1 final, nor on cauldron. 

It's always kdm that installs by default, with hundreds of packages induced.
Comment 4 Thierry Vignaud 2011-08-02 14:10:47 CEST
This bug report is invalid IHMO: "Minimal installation is" NOT "too big".
You're not even doing a minimum install but a custom one with  X11...
You only have to go to individual pkg selection & select task-xfce instead of waiting to do this after the install with urpmi...

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => INVALID

Comment 5 Georges Eckenschwiller 2011-08-02 15:38:11 CEST
J'avais écarté cette procédure car elle ne permet pas une installation 'no-suggest'.

Je viens donc de refaire un essai comme indiqué et ce n'est pas satisfaisant, car :
- je me retrouve avec KDM et ses nombreuses dépendances
- drakx installe gimp dont je n'ai pas besoin (ce n'est pas le plus gênant puisque je peux le désélectionner)
- drakx ne me permet de choisir task-xfce

Quitte à insister lourdement (je sais), je ne trouve pas logique d'installer KDM (et ses nombreuses dépendances) lorsqu'on ve souhaite pas KDE.

Traduction
-------------
I rejected this procedure because it does not install a 'no-suggest'. 

So I just try again as described and it is not satisfactory because: 
- I end up with KDM and dependances 
- DrakX install gimp which I do not need (it's not as annoying as I can 
deselect) 
- DrakX allows me NO to select task-xfce 

Even if belabour (I know), I do not make sense to install KDM (and its 
outbuildings) when ve not want KDE.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 6 Samuel Verschelde 2011-08-02 15:50:02 CEST
(In reply to comment #5)

Hi, I respect your need to write in your own language, but please put the english version first for those who can't read french.

CC: (none) => stormi

Comment 7 Georges Eckenschwiller 2011-08-02 16:02:29 CEST
(In reply to comment #6)
> (In reply to comment #5)
> 
> Hi, I respect your need to write in your own language, but please put the
> english version first for those who can't read french.

OK
Translation Google being what it is, I prefer to speak in french when the speaker understands.

(La traduction Google étant ce qu'elle est, je préfère m'exprimer en français lorsque l'interlocuteur le comprend)
Comment 8 Thierry Vignaud 2011-08-02 18:07:34 CEST
Please just stop doble posting and only write in english. Thx.
And yet the summary of you bug report remains bogus.
Comment 9 Georges Eckenschwiller 2011-08-02 18:56:45 CEST
I'm sorry, my English is very very basic.
What should I do?
Comment 10 Buchan Milne 2011-09-01 09:50:21 CEST
Created attachment 747 [details]
List of packages installed by minimal installation, sorted by size

I don't think the summary is bogus.

I did a true minimal install (with urpmi, without suggests, without X, without docs) in a VM, and the result was:

[bgmilne@mageia ~]$ df -hP
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VGsys-root  7.9G  680M  6.9G   9% /
/dev/vda1             248M   16M  220M   7% /boot
/dev/mapper/VGsys-home  3.1G   69M  3.0G   3% /home

The biggest 20 packages were:
6168768 GConf2
6613652 gnome-disk-utility
6820286 gnupg2
6950632 lib64smbclient0
7184630 tcl
7977834 initscripts
8546929 cracklib-dicts
8571631 gnome-icon-theme
9223562 seahorse
9562331 drakxtools-curses
10721581 nss
11341520 lib64qtgui4
12553946 coreutils
19631514 gtk+2.0
24862895 glibc
30195139 python
40669586 perl
40867924 lib64xulrunner2.0.1
45896590 kernel-desktop-2.6.38.7-1.mga
55734213 lib64dri-drivers

I will add an attachment with all the packages installed sorted by size.

nss could be removed with no impact it seems:
[root@mageia ~]# urpme nss
removing nss-3.12.9-2.mga1.x86_64
removing package nss-2:3.12.9-2.mga1.x86_64

lib64qtcore4, lib64qtgui4 and lib64qtsvg4 are pulled in by pinentry-qt4:
[root@mageia ~]# urpme lib64qtcore4
To satisfy dependencies, the following 4 packages will be removed (14MB):
  lib64qtcore4-4.7.3-1.mga1.x86_64
  lib64qtgui4-4.7.3-1.mga1.x86_64
   (due to missing libQtCore.so.4()(64bit),
    due to missing libQtSvg.so.4()(64bit))
  lib64qtsvg4-4.7.3-1.mga1.x86_64
   (due to missing libQtCore.so.4()(64bit),
    due to missing libQtGui.so.4()(64bit))
  pinentry-qt4-0.8.1-2.mga1.x86_64
   (due to missing libQtCore.so.4()(64bit),
    due to missing libQtGui.so.4()(64bit))
Remove 4 packages? (y/N) y
removing lib64qtcore4-4.7.3-1.mga1.x86_64 lib64qtgui4-4.7.3-1.mga1.x86_64 lib64qtsvg4-4.7.3-1.mga1.x86_64 pinentry-qt4-0.8.1-2.mga1.x86_64
removing package pinentry-qt4-0.8.1-2.mga1.x86_64
removing package lib64qtgui4-4:4.7.3-1.mga1.x86_64
removing package lib64qtsvg4-4:4.7.3-1.mga1.x86_64
removing package lib64qtcore4-4:4.7.3-1.mga1.x86_64

Why are the following installed in minimal:
lib64gtk+2.0_0 388714
polkit-gnome 393379
canberra-gtk 12107
lib64canberra-gtk0 41888
lib64avahi-ui1 52688
lib64gcr0 428720
gnome-keyring 5034247
libwnck 1635859
lib64wnck-1_22 276320
lib64nautilus1 48912
notification-daemon 187723
lib64notify1 35688
lib64gdu-gtk0 307312
gnome-disk-utility 6613652
lib64xulrunner2.0.1 40867924
lib64seahorse0 76384
lib64ia_ora-gnome 68784
xdg-user-dirs-gtk 87448
notification-daemon-engine-nodoka 63302
seahorse 9223562

?
Comment 11 Buchan Milne 2011-09-01 10:12:28 CEST
I forgot to remove qt4-common, another 3.6MB.

After removing gtk2:

[root@mageia ~]# urpme lib64gtk+-x11-2.0_0                            
To satisfy dependencies, the following 37 packages will be removed (108MB):
  GConf2-2.32.3-2.mga1.x86_64                                              
   (due to missing polkit-agent,                                           
    due to missing libgconf-2.so.4()(64bit),                               
    due to unsatisfied lib64GConf2_4 == 2.32.3)                            
  canberra-gtk-0.27-2.mga1.x86_64                                          
   (due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libcanberra-gtk.so.0()(64bit))                          
  gnome-disk-utility-2.32.0-1.mga1.x86_64                                  
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libnotify.so.1()(64bit),                                
    due to missing libgdu-gtk.so.0()(64bit),                               
    due to unsatisfied lib64gdu-gtk0 >= 2.32.0-1.mga1,                     
    due to missing polkit-agent,                                           
    due to missing libnautilus-extension.so.1()(64bit),                    
    due to missing libgdu.so.0()(64bit))                                   
  gnome-icon-theme-2.31.0-2.mga1.noarch                                    
   (due to unsatisfied gtk+2.0 >= 2.6.0)                                   
  gnome-keyring-2.32.1-1.mga1.x86_64                                       
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libgcr.so.0()(64bit),                                   
    due to missing libgp11.so.0()(64bit))                                  
  gtk+2.0-2.24.4-1.mga1.x86_64                                             
   (due to unsatisfied lib64gtk+2.0_0 == 2.24.4)                           
  gvfs-1.6.7-2.mga1.x86_64                                                 
   (due to unsatisfied lib64gvfs0 == 1.6.7)                                
  gvfs-archive-1.6.7-2.mga1.x86_64                                         
   (due to missing libgvfscommon.so.0()(64bit),                            
    due to unsatisfied gvfs == 1.6.7-2.mga1)                               
  gvfs-fuse-1.6.7-2.mga1.x86_64                                            
   (due to missing libgvfscommon.so.0()(64bit),                            
    due to unsatisfied gvfs == 1.6.7-2.mga1)                               
  gvfs-gphoto2-1.6.7-2.mga1.x86_64                                         
   (due to missing libgvfscommon.so.0()(64bit),                            
    due to unsatisfied gvfs == 1.6.7-2.mga1)                               
  gvfs-smb-1.6.7-2.mga1.x86_64                                             
   (due to missing libgnome-keyring.so.0()(64bit),                         
    due to missing libgvfscommon.so.0()(64bit),                            
    due to missing libgconf-2.so.4()(64bit),                               
    due to unsatisfied gvfs == 1.6.7-2.mga1)                               
  ia_ora-gnome-1.0.25-1.mga1.x86_64                                        
   (due to missing ia_ora-gnome-gtk2-engine,                               
    due to missing gnome-icon-theme)                                       
  lib64GConf2_4-2.32.3-2.mga1.x86_64                                       
   (due to unsatisfied GConf2 >= 2.32.3)                                   
  lib64avahi-ui1-0.6.30-1.mga1.x86_64                                      
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit))                           
  lib64canberra-gtk0-0.27-2.mga1.x86_64                                    
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to unsatisfied canberra-gtk >= 0.27)                               
  lib64gcr0-2.32.1-1.mga1.x86_64                                           
   (due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to unsatisfied gnome-keyring >= 2.32.1-1.mga1)                     
  lib64gdu-gtk0-2.32.0-1.mga1.x86_64                                       
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libavahi-ui.so.0()(64bit),                              
    due to missing libgnome-keyring.so.0()(64bit),                         
    due to unsatisfied lib64gdu0 == 2.32.0-1.mga1)                         
  lib64gdu0-2.32.0-1.mga1.x86_64                                           
   (due to unsatisfied gnome-disk-utility >= 2.32.0,                       
    due to missing libgnome-keyring.so.0()(64bit))                         
  lib64gnome-keyring0-2.32.0-1.mga1.x86_64                                 
   (due to missing gnome-keyring)                                          
  lib64gtk+-x11-2.0_0-2.24.4-1.mga1.x86_64                                 
   (due to unsatisfied lib64gtk+2.0_0 == 2.24.4,                           
    due to unsatisfied gtk+2.0 >= 2.24.4-1.mga1)                           
  lib64gtk+2.0_0-2.24.4-1.mga1.x86_64                                      
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit))                           
  lib64gvfs0-1.6.7-2.mga1.x86_64                                           
   (due to missing libgnome-keyring.so.0()(64bit),                         
    due to missing libgdu.so.0()(64bit),                                   
    due to missing libsoup-2.4.so.1()(64bit),                              
    due to missing libsoup-gnome-2.4.so.1()(64bit),                        
    due to missing libgconf-2.so.4()(64bit),                               
    due to unsatisfied gvfs >= 1.6.7)                                      
  lib64ia_ora-gnome-1.0.25-1.mga1.x86_64                                   
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit))                           
  lib64nautilus1-2.32.2.1-3.mga1.x86_64                                    
   (due to missing libgtk-x11-2.0.so.0()(64bit))                           
  lib64notify1-0.5.2-2.mga1.x86_64                                         
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing virtual-notification-daemon)                            
  lib64proxy1-0.4.6-8.mga1.x86_64                                          
   (due to unsatisfied libproxy-pac >= 0.4.6)                              
  lib64seahorse0-2.32.0-2.mga1.x86_64                                      
   (due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libgconf-2.so.4()(64bit))                               
  lib64soup-2.4_1-2.32.2-4.mga1.x86_64                                     
   (due to missing libgnome-keyring.so.0()(64bit),                         
    due to missing libproxy.so.1()(64bit),                                 
    due to missing libgconf-2.so.4()(64bit))                               
  lib64wnck-1_22-2.30.6-3.mga1.x86_64                                      
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to unsatisfied libwnck >= 2.30.6)                                  
  lib64xulrunner2.0.1-2.0.1-1.mga1.x86_64                                  
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libnotify.so.1()(64bit),                                
    due to missing libproxy.so.1()(64bit),                                 
    due to missing libgconf-2.so.4()(64bit))                               
  libproxy-mozjs-0.4.6-8.mga1.x86_64                                       
   (due to unsatisfied libxulrunner >= 1.9,                                
    due to missing libmozjs.so()(64bit),                                   
    due to missing libproxy.so.1()(64bit),                                 
    due to unsatisfied lib64proxy1 == 0.4.6)                               
  libwnck-2.30.6-3.mga1.x86_64                                             
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libwnck-1.so.22()(64bit))                               
  notification-daemon-0.5.0-2.mga1.x86_64                                  
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libcanberra-gtk.so.0()(64bit),                          
    due to missing libwnck-1.so.22()(64bit),                               
    due to missing GConf2[*],                                              
    due to missing libgconf-2.so.4()(64bit))                               
  notification-daemon-engine-nodoka-0.1.0-3.mga1.x86_64                    
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing notification-daemon)                                    
  polkit-gnome-0.101-2.mga1.x86_64                                         
   (due to missing libgtk-x11-2.0.so.0()(64bit))                           
  seahorse-2.32.0-2.mga1.x86_64                                            
   (due to missing libgdk-x11-2.0.so.0()(64bit),                           
    due to missing libgtk-x11-2.0.so.0()(64bit),                           
    due to missing libnotify.so.1()(64bit),                                
    due to missing libgcr.so.0()(64bit),                                   
    due to missing libgp11.so.0()(64bit),                                  
    due to missing libcryptui.so.0()(64bit),                               
    due to missing libgnome-keyring.so.0()(64bit),                         
    due to missing libsoup-2.4.so.1()(64bit),                              
    due to missing libgconf-2.so.4()(64bit))                               
  xdg-user-dirs-gtk-0.8-5.mga1.x86_64                                      
   (due to missing libgtk-x11-2.0.so.0()(64bit))                           
Remove 37 packages? (y/N) y                                                
removing GConf2-2.32.3-2.mga1.x86_64 canberra-gtk-0.27-2.mga1.x86_64 gnome-disk-utility-2.32.0-1.mga1.x86_64 gnome-icon-theme-2.31.0-2.mga1.noarch gnome-keyring-2.32.1-1.mga1.x86_64 gtk+2.0-2.24.4-1.mga1.x86_64 gvfs-1.6.7-2.mga1.x86_64 gvfs-archive-1.6.7-2.mga1.x86_64 gvfs-fuse-1.6.7-2.mga1.x86_64 gvfs-gphoto2-1.6.7-2.mga1.x86_64 gvfs-smb-1.6.7-2.mga1.x86_64 ia_ora-gnome-1.0.25-1.mga1.x86_64 lib64GConf2_4-2.32.3-2.mga1.x86_64 lib64avahi-ui1-0.6.30-1.mga1.x86_64 lib64canberra-gtk0-0.27-2.mga1.x86_64 lib64gcr0-2.32.1-1.mga1.x86_64 lib64gdu-gtk0-2.32.0-1.mga1.x86_64 lib64gdu0-2.32.0-1.mga1.x86_64 lib64gnome-keyring0-2.32.0-1.mga1.x86_64 lib64gtk+-x11-2.0_0-2.24.4-1.mga1.x86_64 lib64gtk+2.0_0-2.24.4-1.mga1.x86_64 lib64gvfs0-1.6.7-2.mga1.x86_64 lib64ia_ora-gnome-1.0.25-1.mga1.x86_64 lib64nautilus1-2.32.2.1-3.mga1.x86_64 lib64notify1-0.5.2-2.mga1.x86_64 lib64proxy1-0.4.6-8.mga1.x86_64 lib64seahorse0-2.32.0-2.mga1.x86_64 lib64soup-2.4_1-2.32.2-4.mga1.x86_64 lib64wnck-1_22-2.30.6-3.mga1.x86_64 lib64xulrunner2.0.1-2.0.1-1.mga1.x86_64 libproxy-mozjs-0.4.6-8.mga1.x86_64 libwnck-2.30.6-3.mga1.x86_64 notification-daemon-0.5.0-2.mga1.x86_64 notification-daemon-engine-nodoka-0.1.0-3.mga1.x86_64 polkit-gnome-0.101-2.mga1.x86_64 seahorse-2.32.0-2.mga1.x86_64 xdg-user-dirs-gtk-0.8-5.mga1.x86_64                       
removing package seahorse-2.32.0-2.mga1.x86_64                                                                
removing package gvfs-smb-1.6.7-2.mga1.x86_64                                                                 
removing package lib64seahorse0-2.32.0-2.mga1.x86_64                                                          
removing package gvfs-archive-1.6.7-2.mga1.x86_64                                                             
removing package ia_ora-gnome-1.0.25-1.mga1.x86_64                                                            
removing package gvfs-fuse-1.6.7-2.mga1.x86_64                                                                
removing package gvfs-gphoto2-1.6.7-2.mga1.x86_64                                                             
removing package notification-daemon-engine-nodoka-0.1.0-3.mga1.x86_64                                        
removing package gvfs-1.6.7-2.mga1.x86_64                                                                     
removing package lib64gvfs0-1.6.7-2.mga1.x86_64                                                               
removing package lib64soup-2.4_1-2.32.2-4.mga1.x86_64                                                         
removing package lib64gdu-gtk0-2.32.0-1.mga1.x86_64                                                           
removing package gnome-disk-utility-2.32.0-1.mga1.x86_64                                                      
removing package lib64gdu0-2.32.0-1.mga1.x86_64                                                               
removing package lib64gnome-keyring0-2.32.0-1.mga1.x86_64                                                     
removing package lib64gcr0-2.32.1-1.mga1.x86_64                                                               
removing package gnome-keyring-2.32.1-1.mga1.x86_64                                                           
removing package lib64nautilus1-2.32.2.1-3.mga1.x86_64                                                        
removing package lib64avahi-ui1-0.6.30-1.mga1.x86_64                                                          
removing package lib64xulrunner2.0.1-2.0.1-1.mga1.x86_64                                                      
removing package libproxy-mozjs-0.4.6-8.mga1.x86_64                                                           
removing package lib64proxy1-0.4.6-8.mga1.x86_64
removing package lib64notify1-0.5.2-2.mga1.x86_64
removing package notification-daemon-0.5.0-2.mga1.x86_64
removing package GConf2-2.32.3-2.mga1.x86_64
removing package lib64GConf2_4-2.32.3-2.mga1.x86_64
removing package lib64canberra-gtk0-0.27-2.mga1.x86_64
removing package canberra-gtk-0.27-2.mga1.x86_64
removing package libwnck-2.30.6-3.mga1.x86_64
removing package lib64wnck-1_22-2.30.6-3.mga1.x86_64
removing package polkit-gnome-0.101-2.mga1.x86_64
removing package gnome-icon-theme-2.31.0-2.mga1.noarch
removing package lib64ia_ora-gnome-1.0.25-1.mga1.x86_64
removing package xdg-user-dirs-gtk-0.8-5.mga1.x86_64
removing package lib64gtk+2.0_0-2.24.4-1.mga1.x86_64
removing package lib64gtk+-x11-2.0_0-2.24.4-1.mga1.x86_64
removing package gtk+2.0-2.24.4-1.mga1.x86_64

There were a number of large orphaned libraries:

[root@mageia ~]# urpmi_rpm-find-leaves -g
dconf
lib64archive2
lib64atk1.0_0
lib64avahi-glib1
lib64canberra0
lib64cdio_cdda0
lib64cups2
lib64event5
lib64gpgme11
lib64hunspell1.2_0
lib64mng1
lib64modman1
lib64smbclient0
lib64startup-notification-1_0
libgnome-keyring-i18n
udisks
xdg-user-dirs

I removed the libraries that were orphaned:
[root@mageia ~]# urpme `urpmi_rpm-find-leaves -g|grep ^lib`
removing lib64archive2-2.8.4-2.mga1.x86_64 lib64atk1.0_0-1.32.0-2.mga1.x86_64 lib64avahi-glib1-0.6.30-1.mga1.x86_64 lib64canberra0-0.27-2.mga1.x86_64 lib64cdio_cdda0-0.82-3.mga1.x86_64 lib64cups2-1.4.6-3.mga1.x86_64 lib64event5-2.0.10-2.mga1.x86_64 lib64gpgme11-1.3.0-2.mga1.x86_64 lib64hunspell1.2_0-1.2.12-3.mga1.x86_64 lib64mng1-1.0.10-13.mga1.x86_64 lib64modman1-0.4.6-8.mga1.x86_64 lib64smbclient0-3.5.8-1.mga1.x86_64 lib64startup-notification-1_0-0.10-6.mga1.x86_64 libgnome-keyring-i18n-2.32.0-1.mga1.x86_64
removing package lib64cdio_cdda0-0.82-3.mga1.x86_64
removing package lib64archive2-2.8.4-2.mga1.x86_64
removing package lib64modman1-0.4.6-8.mga1.x86_64
removing package lib64cups2-1.4.6-3.mga1.x86_64
removing package lib64canberra0-0.27-2.mga1.x86_64
removing package lib64mng1-1.0.10-13.mga1.x86_64
removing package lib64avahi-glib1-0.6.30-1.mga1.x86_64
removing package lib64atk1.0_0-1.32.0-2.mga1.x86_64
removing package lib64smbclient0-3.5.8-1.mga1.x86_64
removing package lib64gpgme11-1.3.0-2.mga1.x86_64
removing package lib64event5-2.0.10-2.mga1.x86_64
removing package lib64hunspell1.2_0-1.2.12-3.mga1.x86_64
removing package lib64startup-notification-1_0-0.10-6.mga1.x86_64
removing package libgnome-keyring-i18n-2.32.0-1.mga1.x86_64

[root@mageia ~]# df -hP
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VGsys-root  7.9G  571M  7.0G   8% /
/dev/vda1             248M   16M  220M   7% /boot
/dev/mapper/VGsys-home  3.1G   69M  3.0G   3% /home

This orphaned a few more libs:
[root@mageia ~]# urpmi_rpm-find-leaves -g|grep ^lib
lib64cdio12
lib64lcms1
lib64vorbisfile3
lib64wbclient0

[root@mageia ~]# urpme `urpmi_rpm-find-leaves -g|grep ^lib`
removing lib64cdio12-0.82-3.mga1.x86_64 lib64lcms1-1.19-5.mga1.x86_64 lib64vorbisfile3-1.3.2-1.mga1.x86_64 lib64wbclient0-3.5.8-1.mga1.x86_64
removing package lib64lcms1-1.19-5.mga1.x86_64
removing package lib64cdio12-0.82-3.mga1.x86_64
removing package lib64wbclient0-3.5.8-1.mga1.x86_64
removing package lib64vorbisfile3-1.3.2-1.mga1.x86_64
[root@mageia ~]# urpmi_rpm-find-leaves -g|grep ^lib
lib64talloc2
[root@mageia ~]# urpme `urpmi_rpm-find-leaves -g|grep ^lib`
removing lib64talloc2-2.0.5-2.mga1.x86_64
removing package lib64talloc2-1:2.0.5-2.mga1.x86_64

[root@mageia ~]# df -hP
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VGsys-root  7.9G  570M  7.0G   8% /
/dev/vda1             248M   16M  220M   7% /boot
/dev/mapper/VGsys-home  3.1G   69M  3.0G   3% /home


urpme'ing lib64x11_6 removes:
gdk-pixbuf2.0-2.22.1-3.mga1.x86_64 lib64alsa-plugins-1.0.24-1.mga1.x86_64 lib64alsa-plugins-pulseaudio-1.0.24-1.mga1.x86_64 lib64cairo2-1.10.2-3.mga1.x86_64 lib64ffmpeg52-0.6.3-1.mga1.x86_64 lib64gd2-2.0.35-16.mga1.x86_64 lib64gdk_pixbuf2.0_0-2.22.1-3.mga1.x86_64 lib64gphoto2-2.4.10.1-1.mga1.x86_64 lib64mesagl1-7.10.2-4.mga1.x86_64 lib64pango1.0_0-1.28.4-1.mga1.x86_64 lib64pango1.0_0-modules-1.28.4-1.mga1.x86_64 lib64pulseaudio0-0.9.22-5.mga1.x86_64 lib64va1-1.0.12-1.mga1.x86_64 lib64x11_6-1.4.3-1.mga1.x86_64 lib64xcomposite1-0.4.3-1.mga1.x86_64 lib64xcursor1-1.1.11-1.mga1.x86_64 lib64xdamage1-1.1.3-1.mga1.x86_64 lib64xext6-1.2.0-2.mga1.x86_64 lib64xfixes3-5.0-1.mga1.x86_64 lib64xft2-2.2.0-1.mga1.x86_64 lib64xi6-1.4.2-1.mga1.x86_64 lib64xinerama1-1.1.1-2.mga1.x86_64 lib64xpm4-3.5.9-2.mga1.x86_64 lib64xrandr2-1.3.1-2.mga1.x86_64 lib64xrender1-0.9.6-1.mga1.x86_64 lib64xt6-1.1.1-2.mga1.x86_64 lib64xtst6-1.2.0-1.mga1.x86_64 lib64xxf86vm1-1.1.1-2.mga1.x86_64 libgphoto-common-2.4.10.1-1.mga1.x86_64 mtools-4.0.15-1.mga1.x86_64 udisks-1.0.2-3.mga1.x86_64

which orphans:
  alsa-plugins-doc-1.0.24-1.mga1.x86_64
  lib64avutil50-0.6.3-1.mga1.x86_64
  lib64dri-drivers-7.10.2-4.mga1.x86_64
  lib64drm2-2.4.25-1.mga1.x86_64
  lib64drm_intel1-2.4.25-1.mga1.x86_64
  lib64drm_radeon1-2.4.25-1.mga1.x86_64
  lib64orc0.4_0-0.4.11-1.mga1.x86_64
  lib64schroedinger1.0_0-1.0.10-1.mga1.x86_64
  lib64theoradec1-1.1.1-3.mga1.x86_64
  lib64theoraenc1-1.1.1-3.mga1.x86_64
  libdrm-common-2.4.25-1.mga1.x86_64

removing those leaves more library leaves:
[root@mageia ~]# urpmi_rpm-find-leaves -g|grep ^lib
lib64asyncns0
lib64atasmart4
lib64gudev1.0_0
lib64jasper1
lib64lockdev1
lib64pixman-1_0
lib64png3
lib64samplerate0
lib64sgutils2
lib64sndfile1
lib64speex1
lib64tdb1
lib64thai0
lib64tiff3
lib64vpx0

removing these leaves another 5:
[root@mageia ~]# urpmi_rpm-find-leaves -g|grep ^lib
lib64datrie1
lib64flac8
lib64jbig1
lib64jpeg8
lib64vorbisenc2

removing these leaves one more:
[root@mageia ~]# urpme `urpmi_rpm-find-leaves -g|grep ^lib`
removing lib64vorbis0-1.3.2-1.mga1.x86_64
removing package lib64vorbis0-1.3.2-1.mga1.x86_64
[root@mageia ~]# urpme `urpmi_rpm-find-leaves -g|grep ^lib`
removing lib64ogg0-1.2.2-1.mga1.x86_64
removing package lib64ogg0-1.2.2-1.mga1.x86_64

x11 fonts can probably go:
[root@mageia ~]# rpm -e x11-font-daewoo-misc x11-font-isas-misc x11-font-jis-misc

[root@mageia ~]# df -hP
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VGsys-root  7.9G  484M  7.1G   7% /
/dev/vda1             248M   16M  220M   7% /boot
/dev/mapper/VGsys-home  3.1G   69M  3.0G   3% /home


We still have avahi installed, which may not be necessary ...

The biggest 20 packages left are:
[root@mageia ~]# rpm -qa --qf '%{SIZE} %{NAME}\n'|sort -n|tail -n20
3258136 lib64nss3
3543100 urpmi
3626754 xfsprogs
4573679 libdrakx-net
4609551 lvm2
4637605 locales
4838631 ldetect-lst
4954052 gnupg
5235725 glib2.0-common
5991009 util-linux-ng
6820286 gnupg2
7184630 tcl
7977834 initscripts
8546929 cracklib-dicts
9562331 drakxtools-curses
12553946 coreutils
24862895 glibc
30195139 python
40669586 perl
45896590 kernel-desktop-2.6.38.7-1.mga




Seems we have some libs with wrong group:
[root@mageia ~]# urpmi_rpm-find-leaves |grep ^lib
lib64exif12
lib64ltdl7
lib64lvm2app2.2
lib64sm6
lib64xcb-atom1
lib64xcb-aux0
[root@mageia ~]# urpme `urpmi_rpm-find-leaves |grep ^lib`
removing lib64exif12-0.6.20-1.mga1.x86_64 lib64ltdl7-2.4-3.mga1.x86_64 lib64lvm2app2.2-2.02.78-4.mga1.x86_64 lib64sm6-1.2.0-2.mga1.x86_64 lib64xcb-atom1-0.3.6-3.mga1.x86_64 lib64xcb-aux0-0.3.6-3.mga1.x86_64
removing package lib64exif12-0.6.20-1.mga1.x86_64
removing package lib64ltdl7-2.4-3.mga1.x86_64
removing package lib64sm6-1.2.0-2.mga1.x86_64
removing package lib64xcb-atom1-0.3.6-3.mga1.x86_64
removing package lib64lvm2app2.2-2.02.78-4.mga1.x86_64
removing package lib64xcb-aux0-0.3.6-3.mga1.x86_64

[root@mageia ~]# urpme `urpmi_rpm-find-leaves |grep ^lib`
removing lib64ice6-1.0.7-2.mga1.x86_64 lib64xcb1-1.7-1.mga1.x86_64 libexif12-common-0.6.20-1.mga1.x86_64
removing package lib64xcb1-1.7-1.mga1.x86_64
removing package libexif12-common-0.6.20-1.mga1.x86_64
removing package lib64ice6-1.0.7-2.mga1.x86_64

[root@mageia ~]# urpme `urpmi_rpm-find-leaves |grep ^lib`
removing lib64xau6-1.0.6-1.mga1.x86_64 lib64xdmcp6-1.1.0-1.mga1.x86_64
removing package lib64xau6-1.0.6-1.mga1.x86_64
removing package lib64xdmcp6-1.1.0-1.mga1.x86_64


[root@mageia ~]# urpmi_rpm-find-leaves 
acpi                                   
acpid                                  
alsa-plugins-pulse-config              
alsa-utils                             
aoss                                   
at
atk1.0-common
basesystem
canberra-common
cpufreq
dconf
desktop-file-utils
dhcp-client
dosfstools
gnupg2
gpg-pubkey
gsettings-desktop-schemas
harddrake
hicolor-icon-theme
irqbalance
kernel-desktop-latest
ldetect
lftp
locales-en
lvm2
mageia-gfxboot-theme
mandi-ifw
mdadm
mkfontdir
msec
ntfsprogs
numlock
pango
pm-utils
pulseaudio-client-config
rarian
sharutils
shorewall
thai-data
tmpwatch
xdg-user-dirs
xfsprogs

[root@mageia ~]# df -hP
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VGsys-root  7.9G  483M  7.1G   7% /
/dev/vda1             248M   16M  220M   7% /boot
/dev/mapper/VGsys-home  3.1G   69M  3.0G   3% /home


We trimmed off very close to 200MB quite easily. I don't think it is feasible to get basesystem much smaller than that.

CC: (none) => bgmilne

Comment 12 Samuel Verschelde 2011-09-01 12:45:36 CEST
*** Bug 1750 has been marked as a duplicate of this bug. ***

CC: (none) => maarten.vanraes

Comment 13 Thierry Vignaud 2011-09-01 16:01:19 CEST
This has nothing to do with the installer but with the packagers that bloat the minimal install w/o knowing.
One must break some require cycles...

Component: Installer => RPM Packages

Comment 14 Buchan Milne 2011-09-01 17:02:48 CEST
Some aspects may be related to packages, however, why were there unnecessary leaf packages (e.g. pinentry-qt4)? Either it is being pulled in from rpmsrate, or it is from a suggests, and installer is pulling in suggests when specifically not requested.

I think gnome-disk-utility must be a similar case (but I should have made a list of leaves first, before removing any packages).

I will rebuild the VM again and make a list of leaves ...
Comment 15 Thierry Vignaud 2011-09-01 17:18:04 CEST
> Either it is being pulled in from rpmsrate, or it is from a suggests,
> and installer is pulling in suggests when specifically not requested.

Well, you're full grown, so could just check instead of doing such claims.
Ie just run:

CHROOT=T/
mkdir -p $CHROOT/dev
urpmi --urpmi-root $CHROOT --nosuggests --justdb basesystem -v --debug 2>&1|tee LOG02

Then check your log, and explain to me how it can be related to the installer in any way.
If you succeed to, I'll pay you some beer.
Else just fix the the bogus require cycles.
I did it in the past and I'm tired of doing it again & again.
Hint: it's usually easy to begin with one my favorite which kept coming again & again:
 udev->libglib->glib2.0-common->libgio->libgvfs->gvfs->libgnome-keyring->gnome-keyring-> lib64(gtk|gnome)*

I do wait for your explanation about the installer bugs...
Comment 16 Thierry Vignaud 2011-09-01 17:20:33 CEST
Of course, also run the following between mkdir & urpmi basesystem
urpmi.addmedia --distrib /path/to/your/mageia/mirror/ --urpmi-root $CHROOT

Once those fscking cycles are broken again, I suggest sysadmins set up a test everyday that warn when basesystem explose again and send a blame mail to mageia-dev, easing pinpointing to the fscking pakckager that rebloated basesystem.
Comment 17 Georges Eckenschwiller 2011-09-01 17:44:03 CEST
In my case, my tests were a little different:
I do a minimal install, but with the X server (I need later).

What bothers me is installing kdm (and all dependencies = approx 100 packages) in
more to xdm.
Is not sufficiently specialist, I do not know if it was because the file rpmsrate or not.

Having an automatic translation, I hope my comments are understandable.
Comment 18 Thierry Vignaud 2011-09-16 10:33:50 CEST
For those who want to contribute, just run:

CHROOT=/some/temp/dir
MGA_URI=http://my.favorite.mirror/path/to/the/distro
mkdir -p $CHROOT/dev
urpmi.addmedia --distrib $MGA_URI --urpmi-root $CHROOT 
urpmi --urpmi-root $CHROOT --nosuggests basesystem -v --debug 2>&1|tee
LOG

Then analyze the log file in order to identify the require cycles that bring in too many packages.

I've reduced the minimal install w/o suggests to ~225Mb (201 packages)
With suggests, we're still at ~483MB (418 packages)
Comment 19 Georges Eckenschwiller 2011-09-17 07:30:49 CEST
Created attachment 802 [details]
Package list

I realized the test with cauldron of 16 September (morning).
I made the following choices: rsyslog, grub, sysvinit, vim-minimal, kernel-desktop, aria2.
I enclose the list in the appendix.

Can you put your own list to compare.
Thierry Vignaud 2011-09-17 11:02:50 CEST

Attachment 802 mime type: application/octet-stream => text/plain

Comment 20 Thierry Vignaud 2011-09-21 17:32:35 CEST
*** Bug 1750 has been marked as a duplicate of this bug. ***
Thierry Vignaud 2011-09-21 17:36:21 CEST

Depends on: (none) => 371

Comment 21 Thierry Vignaud 2011-09-21 17:37:38 CEST
The minimal basesystem (without any suggested packages) has been reduced quite a lot through:
- splitting the udev->gnome require chain
- ensuring systemd doesn't pull python
- ensuring XFdrake & urpmi aren't pulled in by kernels

What would be nice would be to break the udev->gnome require chain when using suggests too...
Thierry Vignaud 2011-09-21 17:38:35 CEST

Attachment 802 is obsolete: 0 => 1

Thierry Vignaud 2011-09-21 17:38:37 CEST

Attachment 747 is obsolete: 0 => 1

Comment 22 Georges Eckenschwiller 2011-10-15 08:20:59 CEST
I just redo some tests.
1- basesystem is probably much minimized.

2- It remains the following problem: which requires the installation of kdm.
For the record, when installing Mageia, I choose "Personalise Office." In the next window I deselect all package groups. And in the next window I choose "with X".

In reviewing the file ddebug.log after the line:
* unselecting all packages... (corresponding to the deselection of groups of packages)
I see a line:
* packageCallbackChoices: default choice ('kdm') from kdm,gdm,slim for dm

This does not seem to come from the file prefer.vendor.list, included in mdkinst.sqfs.
This does not seem to come not from the file rpmsrate (paragraph CAT_X).

So where is the error ?
Comment 23 Thierry Vignaud 2011-10-15 10:32:18 CEST
You're installing X, That has nothing to have with minimal installation
Comment 24 Georges Eckenschwiller 2011-10-15 14:18:56 CEST
Hello Thierry Vignaud,

Since the beginning, so I misstated my report.
I beg you to excuse me.

I propose to make another bug report and then close the 609, if you agree.
Comment 25 Thierry Vignaud 2011-10-15 17:33:32 CEST
I think this is better since:
1) this BR is becoming too long
2) two issues were mixed (minimal installation vs
   other packages bringing in too much packages)
Comment 26 Georges Eckenschwiller 2011-10-15 17:45:16 CEST
OK
New report = 3060

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

Comment 27 Manuel Hiebel 2011-10-15 21:28:01 CEST
Is this bug (very minimal installation / just with urpmi ) fixed ?
Comment 28 Thierry Vignaud 2011-10-17 10:50:41 CEST
AFAIC yes
Comment 29 Georges Eckenschwiller 2011-10-17 11:13:24 CEST
(In reply to comment #27)
> Is this bug (very minimal installation / just with urpmi ) fixed ?

In fact, I'm not sure.
But now I think it's in the files rpmsrate and compssUsers.pl to look for.
(or, perhaps more broadly in the files of the installer)

As Thierry Vignaud, I think it is preferable to open another report.
It's already done for the installation with X.
I will also do for the installation without X
Comment 30 Manuel Hiebel 2011-10-18 22:07:29 CEST
It's already done for the installation with X. >> bug 3060
I will also do for the installation without X >> bug 3093

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