Bug 4011 - Needless packages when installing lxde
Summary: Needless packages when installing lxde
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:
Depends on:
Blocks: 3060
  Show dependency treegraph
 
Reported: 2012-01-03 15:40 CET by Jacques Pronchery
Modified: 2012-02-07 18:19 CET (History)
7 users (show)

See Also:
Source RPM: meta-task
CVE:
Status comment:


Attachments
File lxde.txt (708 bytes, text/plain)
2012-01-03 18:19 CET, Jacques Pronchery
Details
Here is the file /root/drakx/report.bug.gz (146.92 KB, application/x-gzip)
2012-01-03 20:57 CET, Jacques Pronchery
Details
List of packages (28.31 KB, text/plain)
2012-01-07 11:04 CET, Jacques Pronchery
Details
/root/drakx/report.bug.arj (154.76 KB, application/octet-stream)
2012-01-17 12:51 CET, oups emma
Details
urpme -a kde command (35.48 KB, text/plain)
2012-01-22 11:57 CET, Jacques Pronchery
Details
Installing task-lxde (32.47 KB, text/plain)
2012-01-22 13:42 CET, Thierry Vignaud
Details

Description Jacques Pronchery 2012-01-03 15:40:20 CET
When installing LXDE with only configuration,
there are many needless kde and qt packages and some others.
Comment 1 Thierry Vignaud 2012-01-03 15:48:12 CET
urpmi -v -v --debug task-lxde > lxde.txt ...

CC: (none) => thierry.vignaud
Source RPM: (none) => task-lxde

Comment 2 Jacques Pronchery 2012-01-03 18:19:31 CET
Created attachment 1327 [details]
File lxde.txt

When installing task-lxde there are not KDE packages.
But, in the installer when I choose LXDE there are KDE packages.
Comment 3 Manuel Hiebel 2012-01-03 18:59:53 CET
(the urpmi task-lxde was to do in a clean install I guess)

can you provide the file /root/drakx/report.bug.gz as an attachment ?

Keywords: (none) => NEEDINFO

Comment 4 Jacques Pronchery 2012-01-03 20:57:02 CET
Created attachment 1328 [details]
Here is the file /root/drakx/report.bug.gz
Comment 5 Manuel Hiebel 2012-01-07 00:28:41 CET
Strange because I see nothing after the chooseGroups step.

Have you example of kde/qt rpms ?
Comment 6 Jacques Pronchery 2012-01-07 11:04:54 CET
Created attachment 1340 [details]
List of packages

Here is the list of packages installed.
I had only installed firefox and java-sun.
For instance there is nepomuk.
I install with ftp with cd burned with the last boot.iso (5/1/2012).
I choose first "personal" then "lxde" with only "configuration".
Comment 7 Manuel Hiebel 2012-01-07 17:59:40 CET
hum maybe it's because of *-handbook in Group: Books/Other

Thierry,John, I'am correct ?

Keywords: NEEDINFO => (none)
CC: (none) => balcaen.john
Source RPM: task-lxde => meta-task

Comment 8 John Balcaen 2012-01-07 18:48:16 CET
The handbooks are installed only via « suggests » because some kde package(kdm, kdelibs4-core, kdebase4-runtime etc etc) are installed.
From the debug log it seems that kde was explicity installed if i'm reading correctly (it's the first time :p) :

* compssUsers.pl got: "Server|Web/FTP", "Server|Mail", "Server|Database", "Server|Firewall/Router", "Server|Network Computer server", "Workstation|Office Workstation", "Workstation|Game station", "Workstation|Multimedia station", "Workstation|Internet station", "Workstation|Network Computer (client)", "Workstation|Configuration", "Workstation|Console Tools", "Workstation|Development", "Workstation|Documentation", "Workstation|LSB", "Graphical Environment|KDE Workstation", "Graphical Environment|GNOME Workstation", "Graphical Environment|LXDE Desktop", "Graphical Environment|Other Graphical Desktops"
Comment 9 Manuel Hiebel 2012-01-08 13:22:47 CET
maybe: 

* compssUsersChoice selected: "Workstation|Configuration", "Graphical Environment|LXDE Desktop"
* packageCallbackChoices: default choice ('kdm') from kdm,gdm,slim for dm

* setSelectedFromCompssList: reached size 1446MB, up to indice 4 (less than 28Gio) for flags 3D BURNER CAT_ACCESSIBILITY CAT_CONFIG CAT_LXDE CAT_MINIMAL_DOCS CAT_SYSTEM CAT_X CHARSET"iso-8859-15" DVD LOCALES"fr" LOCALES"fr_FR" META_CLASS"download" SMP SOUND TRUE USB UTF8
 
...

* rpmsrate_flags_chosen's: 3D BURNER CAT_ACCESSIBILITY CAT_CONFIG CAT_LXDE CAT_MINIMAL_DOCS CAT_SYSTEM CAT_X CHARSET"iso-8859-15" DVD LOCALES"fr" LOCALES"fr_FR" META_CLASS"download" SMP SOUND TRUE USB UTF8

* !CAT_GNOME&&!CAT_XFCE&&CAT_OFFICE CAT_KDE 4MB Default-kde4-config
Comment 10 Manuel Hiebel 2012-01-10 16:32:38 CET
In fact there is the same issue in mga 1 with the dvd
Comment 11 Jacques Pronchery 2012-01-15 14:35:00 CET
Now it is worse !
I have LXDE with KDE gui (menu ...).
Comment 12 Olivier Blin 2012-01-16 23:47:51 CET
We could have gdm listed in /etc/urpmi/prefer.vendor.list (so that it gets selected by default for the "dm" virtual package), it probably pulls less deps than kdm

CC: (none) => mageia

Comment 13 John Balcaen 2012-01-17 00:44:20 CET
what about slim or simply xdm?
Comment 14 John Balcaen 2012-01-17 00:47:52 CET
also for task-xfce it should probably better to pull lxdm since it's supposed to be for lxde ?
Comment 15 Jacques Pronchery 2012-01-17 10:13:59 CET
(In reply to comment #14)
> also for task-xfce it should probably better to pull lxdm since it's supposed
> to be for lxde ?

lxdm works, but on my PC it uses 50% CPU times permanently.
(I have a processor with 2 cores).

xdm works fine.
Comment 16 Jacques Pronchery 2012-01-17 10:39:26 CET
Now if using xdm or slim we cannot choose the gui and it is KDE which start.
You can delete kdm and use only gdm.
Comment 17 oups emma 2012-01-17 12:51:40 CET
Created attachment 1377 [details]
/root/drakx/report.bug.arj
Comment 18 oups emma 2012-01-17 12:53:24 CET
 Using the boot.iso image, I wanted to install Lxde and other light desktops, carefully unticking the checkboxes for Gnome and KDE.
 1317 packages were installed and when rebooting the computer, there was no graphical login manager. I logged in with $ startx and got a full KDE session.
 Launching an Openbox session was impossible.
 I've been removing these KDE and Qt packages, installed Lxdm, logged out of the session and was able to have a working Lxdm login screen enabling me to choose from E17, IceWM, Lxde and drak3d sessions.

CC: (none) => oupsemma

Comment 19 Jacques Pronchery 2012-01-17 13:18:36 CET
Correction : gdm do not start at boot and I have the console.
startx for lauching LXDE.
Comment 20 Georges Eckenschwiller 2012-01-17 14:24:43 CET
Can we not make an analogy with the 3060 report ?

CC: (none) => paiiou

Comment 21 Jacques Pronchery 2012-01-17 16:30:14 CET
Yes there is an analogy.
If installing only task-lxde + task-X + drakconf there is no kde packages.
But there is gdm which do not works.
Comment 22 Manuel Hiebel 2012-01-17 18:05:54 CET
Well something is wrong somewhere. in the prefer.vendor.list, in the compssUsers.pl, in the rpmsrate, or in some require of pkgs

But I don't know :(
Comment 23 Jacques Pronchery 2012-01-22 11:57:41 CET
Created attachment 1402 [details]
urpme -a kde command

After installing LXDE if I want delete kde I do :
"urpme -a kde" and it want to delete lxde, gnome and gtk packages.
(see attachement)
I think there is a big problem of dependency.
If I use rpmdrake I can delete kde and qt packages and then delete orphans
without delete lxde, gnome or gtk packages.
Comment 24 Thierry Vignaud 2012-01-22 13:42:36 CET
1) There's nothing wrong per se to have requires a package with gnome or kde in its name (beginning with gtk (the GNOME ToolKit)
2) it's normal suggested packages could be removed without removing the packages that are suggested them (that's the difference between requires & suggests)

Source RPM: meta-task => task-lxde

Comment 25 Thierry Vignaud 2012-01-22 13:42:52 CET
Created attachment 1403 [details]
Installing task-lxde

Looks like it's OK (no more KDE packages) now that task-lxde requires gdm:

mkdir temp/dev -p
urpmi.addmedia --urpmi-root=temp --distrib --mirrorlist
urpmi --urpmi-root=temp basesystem --justdb 2>&1|tee LOG.lxde2
urpmi --urpmi-root=temp task-lxde --justdb 2>&1|tee LOG.lxde3
Comment 26 Georges Eckenschwiller 2012-01-22 14:21:49 CET
(In reply to comment #23)
> Created attachment 1402 [details]
> urpme -a kde command
> 
> After installing LXDE if I want delete kde I do :
> "urpme -a kde" and it want to delete lxde, gnome and gtk packages.
> (see attachement)
> I think there is a big problem of dependency.
> If I use rpmdrake I can delete kde and qt packages and then delete orphans
> without delete lxde, gnome or gtk packages.

Although my problem is not exactly the same (I use xfce), to delete the packages
unnecessary, I do
urpme docbook-dtds qt4-common
and then :
urpme --auto-orphans

This way I remove any package concerning gtk.
Comment 27 Jacques Pronchery 2012-01-22 15:36:24 CET
OK, if I do "urpme -a qt4" and then I delete orphans, it is fine.

But I have seen that pulseaudio have been deleted.
If I want to install pulseaudio it ask for 2 choices.

1) "apper" which then install many kde packages
2) "gnome-packagekit-common" which install few gnome packages.

I think for LXDE it is better to choose the second one.
Comment 28 Manuel Hiebel 2012-01-28 02:01:57 CET
Minimal install + personnal choice, if I select xguest, userdrake, drakconf (in the 'other DE', 'lxde' or 'gnome' group)

I get:
default choice 'kdm' from kdm,gdm,slim,lxdm, for dm (xdm is missing as provide)

xguest require dm, userdrake had a suggest for xguest

but I see nothing in the rpmsrate or in the prefer.vendor.list about kdm
so from where is it ?

I would be agree with Comment 12, 13 and fix/close this bug

Summary: Needless packages when installing LXDE => Needless packages when installing drakconf
Source RPM: task-lxde => meta-task

Comment 29 Georges Eckenschwiller 2012-01-28 09:46:52 CET
Hello all,
I do not think we can not consider that the bug is fixed.
Because the question is: 
why kdm is proposed for display manager, while the choosen desktop is LXDE ?
Indeed, it is not prefer.vendor.list. But who then?

A note: xdm does not provide dm (actualy)

Georges
Comment 30 Georges Eckenschwiller 2012-01-28 09:51:49 CET
Edit:
I think we can not consider that the bug is fixed.
Manuel Hiebel 2012-02-03 18:57:25 CET

Blocks: (none) => 3060

Marja Van Waes 2012-02-04 12:06:25 CET

CC: (none) => marja11

Comment 31 Georges Eckenschwiller 2012-02-04 16:10:38 CET
Hello,
After my last tries of lxdm, I think that it is effectively preferable to use SLiM.

Here is the result of the top command, by using lxdm.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1377 root      20   0  7004 2456 2000 R 98.3  0.5   2:09.92 lxdm-binary
    1 root      20   0  4764 2912 1660 S  0.0  0.6   0:01.54 systemd
 
It seems that lxdm-0.4 raise a problem of processor use.

The file "prefer.vendor.list" must be thus completed by a line " slim ", to install slim rather that kdm.

I verified that it has no incidence when a user wants to install KDE or Gnome.
See also the bug 3060.
Marja Van Waes 2012-02-05 10:07:13 CET

CC: (none) => oliver.bgr

Thierry Vignaud 2012-02-07 17:52:00 CET

Attachment 1327 is obsolete: 0 => 1

Thierry Vignaud 2012-02-07 17:54:26 CET

Attachment 1402 is obsolete: 0 => 1

Comment 32 Thierry Vignaud 2012-02-07 18:19:17 CET
That's the wrong way.
This should be done in task-lxde the same way:
- task-xfce suggests gdm
- task-kde4-minimal requires kdm
- task-xfce suggests gdm

Anyway task-lxde already suggests gdm since some monthes

BTW I tagged as obsolete:
- running the urpmi command when the task package was already installed
- urpme liblockdev1 (which is not a KDE library)

Next time please open a new bug report.

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

Thierry Vignaud 2012-02-07 18:19:57 CET

Summary: Needless packages when installing drakconf => Needless packages when installing lxde


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