Bug#650928: java-common: A very recent (Dec 2011) change somewhere in java hosed various aspects of java

2011-12-04 Thread Emmanuel Charpentier
Thanks for this very prompt answer.

Okay, there seems to be an issue on the origin of this problem...

I can confirm that this is a *very* recent issue (another machine, which
had had an update about 2-3 days ago, does not exhibit this problem ; on
my problematic machines, the problem did not appear on Friday Dec 2(last
time I remember having used Zotero on at least one of these machines).
Would a list of the current possible updates to this machine help you
find the problem ? I tried that (at-get dist-upgrade -u -f -s | less),
but found nothing obvious to my eyes...

I can also confirm that the problem might be peculiar to the particular
"Zotero OpenOffice integration" plugin/tool : on at least one of my
problematic machines, Zotero Standalone is still able to receive
additions from Chrome...

Can either of you suggest a workaround or temporary fix ? I am not a
systems administrator, just a bloody dentist/biostatistician (yes...)
that *uses* a computer in his everyday problem solving and *writing*.
This latter is a very important part of his work...

   Emmanuel Charpentier

Le dimanche 04 décembre 2011 à 13:42 +0100, Matthias Klose a écrit :
> reassign 650928 java-common
> thanks
> 
> see update-java-alternatives(1). if the plugin is not installed, don't try to
> update the alternatives.
> 
> feel free to rewrite the tool to make it more user friendly.





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#650928: java-common: A very recent (Dec 2011) change somewhere in java hosed various aspects of java

2011-12-04 Thread Matthias Klose
reassign 650928 java-common
thanks

see update-java-alternatives(1). if the plugin is not installed, don't try to
update the alternatives.

feel free to rewrite the tool to make it more user friendly.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#650928: java-common: A very recent (Dec 2011) change somewhere in java hosed various aspects of java

2011-12-04 Thread Niels Thykier
reassign 650928 openjdk-6-jre-headless
thanks


On 2011-12-04 12:18, Emmanuel Charpentier wrote:
> Package: java-common
> Version: 0.45
> Severity: important
> 
> Dear Maintainer,
> Symptoms (end-user point of view) :
> 

Hi,

Thanks for the report.

> [...]
> 
> 2) one cannot switch java installations with update-alternatives-java :
> root@eee-ec:/home/charpent# update-java-alternatives --list
> java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386
> java-6-sun 63 /usr/lib/jvm/java-6-sun
> root@eee-ec:/home/charpent# update-java-alternatives --set
> java-1.6.0-openjdk-i386
> update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
> update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
> root@eee-ec:/home/charpent# update-java-alternatives --set java-6-sun
> update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
> 

The issue appears to be in openjdk-6-jre-headless, which has a list of
alternatives openjdk-6 provides.  It says it provides an alternative for
"-javaplugin.so", however said alternative does not exist.  I have
therefore reassigned it to openjdk-6-jre-headless.

On my system the line looks something like this:

plugin -javaplugin.so $JVM/jre/lib/$ARCH/IcedTeaPlugin.so

($JVM and $ARCH are short hands).

You can work around this issue by using /usr/sbin/update-alternatives
for now.  Presumably this should be what you are looking for:

/usr/sbin/update-alternatives --config  mozilla-javaplugin.so

Though if that does not work, you may have to walk through all possible
alternatives to find the right group to set.

/usr/sbin/update-alternatives --all


> [...]
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing-proposed-updates
>   APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
> Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> java-common depends on no packages.
> 
> java-common recommends no packages.
> 
> Versions of packages java-common suggests:
> ii  default-jre  
> ii  equivs   2.0.9 
> 
> -- no debconf information
> 
> 
> 

~Niels




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#650928: java-common: A very recent (Dec 2011) change somewhere in java hosed various aspects of java

2011-12-04 Thread Emmanuel Charpentier
Package: java-common
Version: 0.45
Severity: important

Dear Maintainer,
Symptoms (end-user point of view) :

1) no more communication between LibreOffice an Zotero (3.0beta2) or Zotero
Standalone (ditto). A look at Zotero site suggested to switch to OpenJDK (I
also have sun's, as current default), which led to :

2) one cannot switch java installations with update-alternatives-java :
root@eee-ec:/home/charpent# update-java-alternatives --list
java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386
java-6-sun 63 /usr/lib/jvm/java-6-sun
root@eee-ec:/home/charpent# update-java-alternatives --set
java-1.6.0-openjdk-i386
update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
root@eee-ec:/home/charpent# update-java-alternatives --set java-6-sun
update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.

==> Leads to a hosed LibreOffice/zotero subsystem (major funcionality for
me...). I  seriously considered reportig this bug as critical (since it beaks
unrelated software), but settled to important (renders the package unusable for
most uses, but I cannot prove it is effectively unusable for *all* purposes...

*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
regular (frequent) updates to a debian wheezy system

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

See above for symptoms.

Tried to reinstall openJDK : no change to symptoms.
Did *not* try to reinstall sun Java6 packages, which are no longer available in
Wheezy.

   * What was the outcome of this action?

No modification of symptoms ; no possibility to switch java installations.
   * What outcome did you expect instead?
At least to be able to switch existing java implementations...

*** End of the template - remove these lines ***



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

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

java-common depends on no packages.

java-common recommends no packages.

Versions of packages java-common suggests:
ii  default-jre  
ii  equivs   2.0.9 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org