On Wed, 2012-09-12 at 15:29:28 +0300, Juha Mäkinen wrote: > Package: dpkg > Version: 1.16.8 > Severity: normal > File: /usr/bin/update-alternatives
> 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. My guess would be that there's another alternative with a higher priority which takes precedence, you can check that with: # update-alternatives --query mozilla-javaplugin.so > -- 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. If the above is the case, then you can either install your local alternative with a higher priority, or select your desired choice manually, which will be preserved on upgrades regardless of priority with: # update-alternatives --config mozilla-javaplugin.so If that's the case then there's no bug here and this report can be closed. If it's not, then submitting the output of the --query command and the alternative db file (under /var/lib/dpkg/alternative/) would be much appreciated. thanks, guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

