Package: dpkg
Version: 1.16.8
Severity: normal
File: /usr/bin/update-alternatives

Dear Maintainer,

-- What led to this? The big java bug and its fix

-- What did I do? Well:  

Now, first some background: I am all for free software. Such as OpenJDK, and
IcedTeaPlugin and... However, my netbank disagrees. Maybe someday 
Icedtea java plugin for iceweasel etc will be good enough but meanwhile 
my netbank does insist on Oracle jre and matching plugin.

So I install the latest and greatest bugfix and try to use the gread Debian
update-alternatives like this:

sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" 
"mozilla-javaplugin.so" "/usr/local/jre1.7.0_07/lib/i386/libnpjp2.so" 1

and all is well. Or is it?

Iceweasel tells me (about:plugins) no javaplugin.

I look at the works and:

ls -l /etc/alternatives/moz*
lrwxrwxrwx 1 root root 52 syys  12 12:20 
/etc/alternatives/mozilla-javaplugin.so -> 
/usr/local/jre1.7.0_07/lib/i386/libjavaplugin_oji.so

Well. Great. These days the *correct* plugin happens to be libnpjp2.so.

So I try next to "--force --install"  but no luck. I still get 
the *wrong* plugin.

-- How to fix this? I do not know. I did solve the problem, but:

Possibly I miss something obvious, and if I failed in my rtfm I do beg your
pardon. Still, so far the only way to get the correct plugin seems to be to
ignore the update-alternatives completely and to do a manual "ln -s" - link.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-4
ii  libc6        2.13-35
ii  liblzma5     5.1.1alpha+20120614-1
ii  libselinux1  2.1.9-5
ii  tar          1.26-4
ii  zlib1g       1:1.2.7.dfsg-13

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.8.15.10

-- no debconf information


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to