| Summary: | No java in firefox - Pre 2 Final DVD 64 KDE | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | claire robinson <eeeemail> |
| Component: | RPM Packages | Assignee: | D Morgan <dmorganec> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | davidwhodgins, ennael1, mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | firefox or icedtea-web | CVE: | |
| Status comment: | |||
| Attachments: | report.bug.gz from installation | ||
|
Description
claire robinson
2012-05-15 15:47:44 CEST
anything in about:plugins ? Skype buttons for Kopete DivX web player VLC multimedia plugin (compatible Totem 3.4.1) Quicktime plug-in 7.6.6 Windows media player plug-in 10 (compatible; Totem) and 'update-alternatives --config java' ? Assignee:
bugsquad =>
dmorganec # update-alternatives --config java
There are 2 programs which provide `java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
*+ 2 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
Enter to keep the default[*], or type selection number:
Changed it to 1 and still no java # update-alternatives --config java There are 2 programs which provide `java'. Selection Command ----------------------------------------------- * 1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java + 2 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java https://www.mageia.org/pipermail/mageia-discuss/20120515/007294.html And what is 'update-alternatives --config libjavaplugin.so.x86_64' showing to you? CC:
(none) =>
sander.lepik Might it be possible that icedtea-web was installed before java and that's why it's broken? Requires must be set so that java is installed first and then icedtea-web? # update-alternatives --config java
There are 2 programs which provide `java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
*+ 2 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
Enter to keep the default[*], or type selection number:
# update-alternatives --config libjavaplugin.so.x86_64
No alternatives for libjavaplugin.so.x86_64.
Created attachment 2316 [details]
report.bug.gz from installation
From that report: installing java-access-bridge-1.26.2-4.mga2.x86_64.rpm java-1.6.0-openjdk-1.6.0.0-31.b24.1.mga2.x86_64.rpm rhino-1.7-1.mga2.noarch.rpm x11-font-bitstream-type1-1.0.3-1.mga1.noarch.rpm x11-font-xfree86-type1-1.0.4-1.mga1.noarch.rpm x11-font-type1-1.0.0-8.mga1.noarch.rpm java-1.7.0-openjdk-1.7.0.3-2.1.1.mga2.x86_64.rpm timezone-java-2012c-1.mga2.x86_64.rpm lcms2-2.3-1.mga2.x86_64.rpm from /tmp/image/media/core starting installing packages created transaction for installing on /mnt (remove=0, install=0, upgrade=9) timezone-java-2012c-1.mga2.x86_64 rhino-1.7-1.mga2.noarch lcms2-2.3-1.mga2.x86_64 x11-font-xfree86-type1-1.0.4-1.mga1.noarch x11-font-bitstream-type1-1.0.3-1.mga1.noarch x11-font-type1-1.0.0-8.mga1.noarch java-access-bridge-1.26.2-4.mga2.x86_64 java-1.6.0-openjdk-1.6.0.0-31.b24.1.mga2.x86_64 java-1.7.0-openjdk-1.7.0.3-2.1.1.mga2.x86_64 installing perl-ExtUtils-PkgConfig-1.120.0-2.mga1.noarch.rpm perl-Pango-1.223-1.mga2.x86_64.rpm kpartx-0.4.9-1.mga2.x86_64.rpm perl-Glib-1.251.0-2.mga2.x86_64.rpm perl-Gtk2-1.242.0-2.mga2.x86_64.rpm icedtea-web-1.2-2.mga2.x86_64.rpm perl-ExtUtils-Depends-0.304.0-2.mga1.noarch.rpm perl-Cairo-1.90.0-1.mga2.x86_64.rpm from /tmp/image/media/core starting installing packages created transaction for installing on /mnt (remove=0, install=0, upgrade=8) perl-ExtUtils-Depends-0.304.0-2.mga1.noarch perl-ExtUtils-PkgConfig-1.120.0-2.mga1.noarch perl-Glib-1.251.0-2.mga2.x86_64 perl-Cairo-1.90.0-1.mga2.x86_64 perl-Pango-1.223-1.mga2.x86_64 perl-Gtk2-1.242.0-2.mga2.x86_64 icedtea-web-1.2-2.mga2.x86_64 kpartx-0.4.9-1.mga2.x86_64 update-alternatives: unable to make /usr/lib64/mozilla/plugins/libjavaplugin.so.rpm-tmp a symlink to ../../../.../etc/alternatives/libjavaplugin.so.x86_64: No such file or directory So java seems to be installed first but it fails to update alternatives :/ Strange... Just tested with both DVD 32 and 64 and all is working perfectly here CC:
(none) =>
ennael1 The problem on a clean install, is that icedtea-web is getting installed before firefox, so /usr/lib/mozilla/plugins doesn't exist. icedtea-web needs a requires on firefox. CC:
(none) =>
davidwhodgins Actually, rather then a requires on firefox, I guess it should be set up like flash-player-plugin, where multiple packages own /usr/lib/mozilla/plugins. fixed in icedtea-web-1.2-3.mga2 Status:
NEW =>
RESOLVED I'm not so sure about it.
I would say there are two bugs remaining.
# Post requires alternatives to install plugin alternative.
Requires(postun): update-alternatives
# Postun requires alternatives to uninstall plugin alternative.
Requires(postun): update-alternatives
First one should be "Requires(post)" not "Requires(postun)".
And
# For the mozilla plugin dir
Requires: mozilla-filesystem%{?_isa}
should be done the same way, so that it's sure that mozilla-filesystem is installed before icedtea-web. At the moment it requires this package but doesn't guarantee that it's actually installed before.Status:
RESOLVED =>
REOPENED should be ok now. Thanks for your remarks. Yeah, that should work. Status:
REOPENED =>
RESOLVED *** Bug 4578 has been marked as a duplicate of this bug. *** |