Plugin installation - keystore issue, reports: "This trust engine is read only."

Bug #569224 reported by peterkirn
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

Following recent updates to the Eclipse package in Lucid RC, it appears that now plugin installation fails when I try to access the keystore to verify plug installation.

I get the message:
"This trust engine is read only."
"The artifact file for osgi.bundle,org.eclipse.pde,3.4.100.v201002111343 was not found."

Previously, these issues have been fixed by switching from OpenJDK to Sun JRE. I've verified that I am using the Sun JRE, however, and have the same problem. This has further details of the configuration being used by Eclipse:
http://pastebin.com/NzXE3sSc

I believe this is related to - but NOT a duplicate of - this issue (since resolved):
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/530601

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eclipse (not installed)
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Apr 23 18:35:29 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: eclipse
xulrunner-versions: /usr/lib/xulrunner-1.9.2.3

description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

Do you have eclipse-pde installed?

Revision history for this message
peterkirn (peter-createdigitalmedia) wrote :

Yes. I believe eclipse-pde is installed automatically with eclipse-jdt. Note, as well, that after removing the Ubuntu package, the package from eclipse.org works perfectly. These issues appear to be introduced by the Ubuntu package. (In fact, why shouldn't the Ubuntu package at least nearly resemble the Eclipse JDT download from Eclipse.org in the first place?)

Revision history for this message
Benjamin Drung (bdrung) wrote :

Which plugin did you want to install? Can you rename or remove ~/.eclipse and try to install the plugin again?

Revision history for this message
peterkirn (peter-createdigitalmedia) wrote :

I tried a variety of plug-ins (Subversive from the Eclipse repository, Motodev and third-party plugs) and got the same error. I had removed the eclipse directory, yes, and got the same issue.

Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 569224] Re: Plugin installation - keystore issue, reports: "This trust engine is read only."

peterkirn wrote:
> Yes. I believe eclipse-pde is installed automatically with eclipse-jdt.
> Note, as well, that after removing the Ubuntu package, the package from
> eclipse.org works perfectly. These issues appear to be introduced by the
> Ubuntu package. (In fact, why shouldn't the Ubuntu package at least
> nearly resemble the Eclipse JDT download from Eclipse.org in the first
> place?)
>

Hi

eclipse-jdt is automatically installed with eclipse-pde (but not the
other way around). The Ubuntu eclipse will however not auto-fetch
eclipse-pde if it is not installed (which is why you saw the "cannot
find org.eclipse.pde") because we have it in a separate package.

~Niels

Revision history for this message
Renato (rfsouza) wrote :

I can confirm this issue.
The very same problem is happening to me.

Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

Can this be reproduced with eclipse 3.5.2-2ubuntu4 with eclipse-pde installed?

~Niels

Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
2xyo (2xyo) wrote :

I can confirm this issue with eclipse 3.5.2-2ubuntu4 with eclipse-pde.

Revision history for this message
peterkirn (peter-createdigitalmedia) wrote :

Yes, I can also verify that this is reproducible after installing eclipse-pde.

Revision history for this message
FauZt (dmitry-kharchenko) wrote :

Bug is gone for me after adding package 'eclipse-pde', package naming 'eclipse' and removing ~/.eclipse folder.

Revision history for this message
StephanBeal (sgbeal) wrote :

i can confirm that this is happening on Ubuntu 10.4. Before i explicitly installed eclipse-pde, installations were breaking. It seems to me to be pretty pointless to require an extra package (eclipse-pde) in order for eclipse to be able to do one of its core functions. Core functionality == core package.

Revision history for this message
Ben McCann (benjamin-j-mccann) wrote :

The problem for me was that I installed "Eclipse Integrated Development Environment" in synaptic. When I installed "eclipse" the problem was solved.
This is insanely non-intuitive. Why are there two packages? Can we make "Eclipse Integrated Development Environment" install "eclipse"?

Changed in eclipse (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Carlos De Matos (cmdematos-gmail) wrote :

Wasted lots of time before stumbling on this. This is most unhelpful and needs to be fixed.

Thank you Ubuntu team for your fine efforts!

Revision history for this message
TJ (tj) wrote :

Some issues with very similar symptoms to this may be caused by bug #655833 "Eclipse Foundation Code-signing certificate chain not trusted".

Revision history for this message
Sam Brookfield (sbrookfield) wrote :

I had same problem, fixed after installing eclipse-jde

Revision history for this message
Vassilii Khachaturov (vassilii-cs) wrote :

had eclipse-jde already installed, but not eclipse-pde. Pulling that in solved the problem (and unblocked the pydev install for me).

Revision history for this message
Andrew Jackson (vtee2014) wrote :

Yes, still confirmed as an error.

I am running Kubuntu 14.04 32-bit as a Guest OS in Virtual Box 4.3.x on a Windows 7 64-bit Host.

I installed Eclipse Java EE IDE for Web Developers -- Version: Luna Release (4.4.0) -- Build id: 20140612-0600.

I added (in order) Code Recommenders (all) -- then WindowBuilder (all) -- Dynamic Lang Toolkit (all).

I restarted after each completed successfully.

Then I tried to add PHP Development Tools (PDT) -- and the install failed with something like:

"The artifact file for osgi.bundle,org.eclipse.php.formatter.ui,3.3.0.201406110111 was not found."

Once I added the Eclipse plug-in development environment -- PDE --

I restarted and then installed PHP Development Tools (PDT) and it worked as expected.

I hope that this helps anyone with similar problems.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.