[Bug 509727] [NEW] sun-java6-plugin does not create symlink in /usr/lib/mozilla/plugins
nanotube
nanotube at gmail.com
Tue Jan 19 16:51:11 UTC 2010
Public bug reported:
Binary package hint: sun-java6-plugin
/usr/bin/mozilla/plugins is the 'canonical' location for where mozilla
firefox/seamonkey look for plugins.
for reference:
https://developer.mozilla.org/en/firefox_3.5_for_developers
states "Firefox now looks for plugins in /usr/lib/mozilla/plugins on Linux, as well as the previously supported locations.", which also applies to seamonkey2.
all other plugins place a symlink there through update-alternatives.
sun-java6-plugin /used/ to do this as well, but for whatever reason this
was taken out of the package for karmic (and also the lucid package).
this causes some problems: seamonkey fails to detect java plugin, and problems on 64bit systems. here are the related bugs:
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/269136
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/327088
the fix is simple:
line 6 of the postinst script should read:
browser_dirs="xulrunner-addons mozilla"
then the alternative would be installed in /usr/lib/mozilla/plugins,
along with the xulrunner dir.
currently, the workaround is to manually create the symlink, or, more
properly, to manually install an alternative there with the following
command:
sudo update-alternatives --install
/usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 50
However, this should be fixed and the postinst script should install the
link in /usr/lib/mozilla/plugins, just like all other plugins do.
don't know if the 'policy' will allow this fix to come through as a
karmic update, but this definitely should be fixed for lucid.
note also that this did /not/ use to be a problem on jaunty and earlier, where the postinst installed the alternative in a number of locations:
browser_dirs="xulrunner-addons firefox iceape iceweasel mozilla midbrowser xulrunner"
I don't know why these were taken out in karmic, but they shouldn't have
been - at the very least, the 'mozilla' one shouldn't have.
** Affects: sun-java6 (Ubuntu)
Importance: Undecided
Status: New
--
sun-java6-plugin does not create symlink in /usr/lib/mozilla/plugins
https://bugs.launchpad.net/bugs/509727
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list