Bug 198529 - NetworkManager-kde should not pull GNOME packages for VPN modules
Summary: NetworkManager-kde should not pull GNOME packages for VPN modules
Status: RESOLVED FIXED
: 292207 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Installation (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Helmut Schaa
QA Contact: Stanislav Visnovsky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 19:03 UTC by Mark Delvaux
Modified: 2007-07-20 06:51 UTC (History)
5 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Delvaux 2006-08-10 19:03:01 UTC
system:
OpenSuse 10.1 32-bit
problem fake dependencies causing installation of a lot of useless software. Example:
system is mainly KDE
in stall NetworkManager-vpnc

dependencies are:
NetworkManager
NetworkManager-gome
NetworkManager-vpnc
control-center2
evolution-data-server
gnome-panel
gstreamer010
gstreamer010-plugins-base
libbeagle
metacity
nautilus

installing half of gnone seems quite excessive. Particularly if none of the above provide real dependencies with exception of NetworkManager.

I checked libraries required and nothing of the above is really required with exception od NetworkManager.
Comment 1 Siegfried Olschner 2006-08-10 20:03:29 UTC
Is this an installation bug? 
Or basesystem? 
Or network?
Comment 2 Mark Delvaux 2006-08-10 21:07:47 UTC
(In reply to comment #1)
> Is this an installation bug? 
> Or basesystem? 
> Or network?
> 
I am not sure if I understand your question? I wanted to add networkmanager-vpnc after I installed system. So this was network installation from suse server repositories. OS was installed from DVD.

Two package managers: smart and Yast require to install all this software. So these dependencies really exist, but absolutely make no sense.
Comment 3 Michael Gross 2006-08-11 12:30:13 UTC
The problem with those GNOME deps is known, installing certain packages causes Gnome to be installed almost completely :( Though I'm not sure what can be done about it. Reassigning to the Gnome team.
Comment 4 JP Rosevear 2006-08-11 13:58:07 UTC
There are gui elements in Networkmanager-vpnc that are not yet replicated in Knetworkmanager so thats why gnome is pulled in.
Comment 5 Timo Hoenig 2006-08-11 14:06:47 UTC
This is not a bug.

Native KDE bits for the VPN stuff is not likely to get in for 10.1.

Adjusting summary and severity.  Moving to 10.2.
Comment 6 Timo Hoenig 2006-08-11 14:07:18 UTC
Also changing component to KDE.
Comment 7 Mark Delvaux 2006-08-11 14:47:31 UTC
my response got lost in the air. So I will try again :)

I did --nodeps -force installation of NetworkManager-vpnc
And I am happily using NetworkManager-vpnc (now writing this message). This works well. It also confirms my suspicion that most of these dependencies are not real. Even if KDE does not provide own cisco/open vpn applet, suse is a complete distro. This means (for me) that within software selection provided by suse I can install all that I need... without excess luggage.
For networkManager-vpnc i need a bunch of libraries. That is all (as it is proven by successful installation of working piece of the software).

So argument that half of gnome is required seems to be incorrect:
to install suse NetworkManager I need:
NetworkManager (installed already)
libICE.so.6
libORBit-2.so.0
libOBitCosNaming-2.so.0
libSM.so.6
libX11.so.6
libXext.so.6

and so on. 

No real requirement for gstreamer (???) or gnome-desktop which absolutely have no value  for vpn setup.

Even if this is gnome applet (RH), provided dependencies in suse still are incorrect.

What I am suggesting is that installation of (in my case) NetworkManager-vpnc should only install required libraries, not whole DE. It may be that someone using Gnome would like to install k3b. Does this means that he has to install whole KDE or only libraries really required?

Moreover the fact that I Installed NetworkManager-vpnc without 

control-center2
evolution-data-server
gnome-panel
gstreamer010
gstreamer010-plugins-base
libbeagle
metacity
nautilus

indicates that this is simple problem not requiring new KDE applet for vpn and whole new version od opensuse.

Thank you very much for all your responses.
Comment 8 Timo Hoenig 2006-08-11 15:44:14 UTC
NetworkManager-vpnc requires NetworkManager-gnome as this package provides the generic GUI code for VPN.  This dependency is correct.

For everything else being pulled -- starting in the dependency chain from NetworkManager-gnome -- I have no idea whether the dependencies are correct.

JP, could you please pass this to someone how knows?

(Reverting some of my previously made changes to this bug)
Comment 9 Mark Delvaux 2006-08-11 16:05:14 UTC
I don't have NetworkManager-gnome installed


before NetworkManager-vpnc installation, knetworkmanager did not provide vpn option, after networkmanager-vpnc installation, Knetworkmanager does provide vpn option (at least partially making possible to setup vpn). Missing part is a window asking for the username and password which I am providing in terminal window.

This is also my request (if possible) to make installation of the software easier without extra components that really do not help but make OS maintaining more complicated.
Comment 10 Timo Hoenig 2006-08-11 16:14:09 UTC
(In reply to comment #9)

> before NetworkManager-vpnc installation, knetworkmanager did not provide vpn
> option, after networkmanager-vpnc installation, Knetworkmanager does provide
> vpn option (at least partially making possible to setup vpn). Missing part is a
> window asking for the username and password which I am providing in terminal
> window.

Exactly this is what NetworkManager-gnome provides. This is the generic code provided by NetworkManager-gnome for all NetworkManager VPN modules.
 
> This is also my request (if possible) to make installation of the software
> easier without extra components that really do not help but make OS maintaining
> more complicated.

But actually it is required if you want to get the authentication dialog.

Comment 11 Mark Delvaux 2006-08-11 16:51:41 UTC
I understand what networkmanager-gnome provides, but I don't see a point of installing, nautilus and the rest of the software "required". I will gladly install NetworkManager-gnome but it seems ridiculous that the best choice is to install everything otherwise something will not work. 

I had similar problem with SLED installation: disabling during installation OpenOffice will automatically disable Novell Desktop which in consequnce will disable whole DE!
We can reverse it. KDE does not require Novell Desktop. Open office does not require neither KDE nor Novell Desktop. So this is dependency created by SLED team. This is only an example of really bad software design (I don't expect opensuse to fix SLED mistakes obviously)

I think that this is madness.

If someone is using blackbox, he will have to install whole Gnome or/and KDE of he would like to use gnome/kde apps. 

My understanding is that any distro is taking care of all dependencies proper way. Suse provides both Gnome and Kde with all libraries, so if one is using gnome and wants to install KDE app, installer should pull out from repositories only required stuff. Not everything.

I don't know how to explain this: in short installing whole DE to get one app is  really not a good option.

I hope that this does not sound aggressive. I am only trying to explaing some of the issues from user's stand point.
Comment 12 JP Rosevear 2006-08-11 17:59:47 UTC
I'm not disagreeing with your view on having to install so much, however sometimes it may not always be avoidable:

1. These dependencies are not "fake" they are generated for the most part automatically based on how libraries are linked and can include indirect items.  

NetworkManager-vpnc depends on NetworkManager-gnome because of bug 158326.  NetworkManager-gnome pulls in gnome-panel because it links to the applet library and gnome-panel depends on control-center2 because the panel launches it from the menus.

2. OpenOffice is not a dependency of anything in SLED, from out build system that tracks deps for all 5000+ packages:

jpr@macintyre:~> whatdependson OpenOffice_org
- beagle-index (gnome-maintainers@suse.de)
  maintainers: gnome-maintainers@suse.de

and beagle-index is only a build time dependency, not an install time dep.  I'm not sure what you mean by "Novell Desktop is disabled" above.

3. The installer does only pull out whats required based on dependencies.


libpanel-applet could be split out from gnome-panel and that might solve this specific chain (CC'ing Joe H. to look into that).

Main solution is to have knetworkmanager not need the GNOME ui at all for VPN config.
Comment 13 Mark Delvaux 2006-08-13 05:23:47 UTC
(In reply to comment #11)
> I understand what networkmanager-gnome provides, but I don't see a point of
> installing, nautilus and the rest of the software "required". I will gladly
> install NetworkManager-gnome but it seems ridiculous that the best choice is to
> install everything otherwise something will not work. 
> 
> I had similar problem with SLED installation: disabling during installation
> OpenOffice will automatically disable Novell Desktop which in consequnce will
> disable whole DE!
> We can reverse it. KDE does not require Novell Desktop. Open office does not
> require neither KDE nor Novell Desktop. So this is dependency created by SLED
> team. This is only an example of really bad software design (I don't expect
> opensuse to fix SLED mistakes obviously)
> 
> I think that this is madness.
> 
> If someone is using blackbox, he will have to install whole Gnome or/and KDE of
> he would like to use gnome/kde apps. 
> 
> My understanding is that any distro is taking care of all dependencies proper
> way. Suse provides both Gnome and Kde with all libraries, so if one is using
> gnome and wants to install KDE app, installer should pull out from repositories
> only required stuff. Not everything.
> 
> I don't know how to explain this: in short installing whole DE to get one app
> is  really not a good option.
> 
> I hope that this does not sound aggressive. I am only trying to explaing some
> of the issues from user's stand point.
> 


of course openoffice should not be linked to anything KDE
But try to select KDE as default GUI and then deselect OO.org. I tried this twice. I got a warning that this (deselecting OO.org) will deselect Novell Desktop applet. I did not care much about Novell applet. But this also deselected whole KDE.

For vpnc try Kvpnc. Maybe this will be helpful 
Comment 15 Timo Hoenig 2006-10-19 20:30:28 UTC
Helmut is currently working on getting rid of the KNetworkManager dependency on NetworkManager-gnome for the VPN modules.

This will cause some splits of the NetworkManager VPN packages as they currently include the necessary GNOME bits.

-> OS10.2
Comment 16 Timo Hoenig 2006-10-19 20:31:58 UTC
Adjusting Summary.
Comment 19 Timo Hoenig 2007-01-19 13:06:17 UTC
→ openSUSE 10.3
Comment 21 Helmut Schaa 2007-02-12 13:40:14 UTC
Just checked in the necessary packages to avoid the gnome dependencies.
Comment 22 Helmut Schaa 2007-07-20 06:51:35 UTC
*** Bug 292207 has been marked as a duplicate of this bug. ***