Review dependences

Bug #267260 reported by Rafael Belmonte
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: sun-java6-plugin

sun-java6-plugin 6-07-4ubuntu2.
Depens on:
firefox | firefox-2 | iceweasel | mozilla-firefox | iceape-browser | mozilla-browser | epiphany-gecko | epiphany-webkit | epiphany-browser | galeon | midbrowser | xulrunner

This causes firefox to be marked for install on Kubuntu Desktop, where firefox is not necessary because Konqueror can use the plugin.
This could be fixed adding konqueror to dependences list, and also seamonkey-browser should be added.

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Also firefox-3.0 shuld be added to dependence list.

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

I have made a patch fixing this issue.
I already have compiled the binary .deb packages for testing and seems to works OK.
You can apply the patch over the package source code with "patch -p1 < patch.debdiff" in the root of package source code folder.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

From IRC:
[09:07:24] <Riddell> it should depend on www-browser not a horrible long list of browsers

Changed in sun-java6:
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

how does www-browser make sure that the plugin works and is installed?

Revision history for this message
Harald Sitter (apachelogger) wrote :

Do the listed browsers do that somehow?
If so it probably makes sense to list them individually (but if listed individually, one should at least all of them). Otherwise it just as reasonable to have $www-borwser and still can install the plugin without getting another $www-browser (while in most cases when someone installs the plugin, he/she probably wants to use it, in some cases this might not apply, like when a meta package pulls it in).

Revision history for this message
Bryce Nesbitt (bryce2) wrote :

See also Bug #269136

description: updated
Revision history for this message
Anish Bhatt (anish7) wrote :

in my machine, www-browser points to /usr/bin/w3m which is a text based browser. wouldn't there be a need to check if www-browser actually supports java ?

Revision history for this message
Luis Silva (lacsilva) wrote :

I'm runing kubuntu intrepid and when I try to install the package apt-get tells me that it is going to install all of the following:

app-install-data apturl firefox firefox-3.0 firefox-3.0-branding gnome-app-install gnome-icon-theme libgnome2-canvas-perl libgnome2-perl libgnome2-vfs-perl libgnomeui-0 libgnomeui-common libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk2-perl libgtkhtml2-0 librsvg2-common libscrollkeeper0 python-gconf python-gst0.10 python-gtkhtml2 python-software-properties scrollkeeper software-properties-gtk sun-java6-plugin synaptic ubufox unattended-upgrades

Are all these really needed for sun-java6-plugin to work correctly with konqueror? I guess the dependency tree for this package needs serious cleening.

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Yes Luis, becouse this I reported this bug.
If you want you can install sun-java packages from my ppa repository by the momment, which have this issue fixed by adding Konqueror to dependence list.

deb http://ppa.launchpad.net/eaglescreen/ubuntu intrepid main
deb-src http://ppa.launchpad.net/eaglescreen/ubuntu intrepid main

Revision history for this message
Harald Sitter (apachelogger) wrote :

Luis, you only need sun-java6-jre, the plugin is not necessary for konqueror.

Revision history for this message
Luis Silva (lacsilva) wrote :

Thanks for the tips. I'm installing on an Asus eeepc and disk space really matters...

Revision history for this message
bailout (jumpingclear) wrote :

I have just had this problem with an auto update to sun java in the past few days. The plugin still lists ff as a required package and hence was trying to install it. I seem to have got round it by adding the repos that eaglescreen lists above. I don't understand why this package has just appeared as an update still with this problem when the bug and comments above seem to be from almost a month ago.

Package version in adept shown as 6-07-3ubuntu2

Revision history for this message
Jeppe Fihl-Pearson (tenzer-deactivatedaccount) wrote :

The dependencies also pose an issue when trying to install the Firefox 3.5 beta, without having Firefox 3.0 installed, and then wanting the Java plugin installed.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

In my opinion the browsers should be listed as suggestions. That's the way it's handled in the flashplugin.
The Java plugin doesn't depend on any browser and listing all here won't scale.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Attached is a debdiff, that changes the dependency into a suggestion. I cut down the list of browsers to some more widely used.
If this gets accepted, the sun-java5-plugin should also be updated.

Revision history for this message
Mark Dammer (mark-dammer) wrote :

the bi-directional dependencies between sun-java6-plugin and firefox should be removed. I want to use the latest firefox 3.6 and whenever I try to remove the installed firefox 3.5 it wants to remove the plugin as well. This makes no sense as firefox 3.6 works well with the plugin.

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

This bug is obsoleted, it no longer affects to the current supported Ubuntu versions.

Changed in sun-java6 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers