Plugin update does not actually upgrade plugins: Eclipse Scala IDE

Bug #1125314 reported by Robin Green
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eclipse
Fix Released
High
eclipse (Ubuntu)
New
Undecided
Unassigned

Bug Description

I upgraded the Eclipse Scala IDE plugin (technically, it's a feature) twice using Help->Install new software

However, although the Feature version is 2.1.0-m3, the actual plugin versions (where they start with 2.1.0) are still on 2.1.0-m1.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: eclipse-platform 3.7.2-1 [modified: usr/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info]
ProcVersionSignature: Ubuntu 3.2.0-37.58-generic-pae 3.2.35
Uname: Linux 3.2.0-37-generic-pae i686
NonfreeKernelModules: nvidia wl
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: i386
Date: Thu Feb 14 15:52:30 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: eclipse
UpgradeStatus: Upgraded to precise on 2012-04-27 (293 days ago)
modified.conffile..etc.eclipse.ini: [modified]
mtime.conffile..etc.eclipse.ini: 2012-05-18T16:53:50.891958

Revision history for this message
In , Christophe-meresse (christophe-meresse) wrote :

Build Identifier: Version: 3.7.2 Build id: I20110613-1736

I open this bug after the comment I wrote on bug 297329
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=297329#c32)

I'm using Ubuntu 12.04. Eclipse is installed with ubuntu packages in shared mode in /usr/lib/eclipse. I have multiple plugins installed (in particular PDT and subclipse). Each time I update these plugins and restart, eclipse does not load them. It complains about PHP editor not found, the PHP and subclipse preferences are not available, etc.

If I replace /usr/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info with ~/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info and restart, it solves the problem.

It seems that eclipse does not take into account the content of the local bundles.info.

Reproducible: Always

Steps to Reproduce:
I did not do it a second time on the same computer but I had the same issue on a second host (not that this is not the first time for me, I encounter it regularly with different eclipse versions, I had leave this comment some years ago: https://bugs.eclipse.org/bugs/show_bug.cgi?id=280652#c4)

1. Install eclipse in share mode
2. Run it as a non privileged user and install plugins (PDT for instance)
3. Restart

Revision history for this message
Robin Green (greenrd) wrote :
Revision history for this message
Robin Green (greenrd) wrote :

And it's not just the versions. Bugs which are known to be fixed in 2.1.0-m3, are actually not fixed in my installation. So it really is running an older version, as far as I can tell.

Revision history for this message
Robin Green (greenrd) wrote :

I managed to work around this bug by doing the following:

sudo cp ~/.eclipse/org.eclipse.platform_3.7.0_*/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info /usr/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info

Revision history for this message
Christopher L Weber (cweber10) wrote :

is this a Ubuntu only bug, Linux bug, or a general Eclipse bug? If other versions are having the same issue check with the main eclipse team.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

summary: - Plugin update does not actually upgrade plugins
+ Plugin update does not actually upgrade plugins: Eclipse Scala IDE
Revision history for this message
Robin Green (greenrd) wrote :

I think this bug manifests in two forms: in the first form, shown in the eclipse bug I just linked, installed plugins don't get installed properly.

I've applied the workaround for that first form, and so I think I saw the bug in its second form: upgraded plugins don't get upgraded properly.

I believe this is the same real bug because in both cases, the installed plugin versions don't get seen by eclipse, and in both cases, the workaround is to correct one of its bundles.info files which lists installed plugins.

Eclipse has had many issues related to shared Eclipse installs and plugins and updating, and some other issues are still open, so I suspect this is a general Eclipse issue.

Revision history for this message
Robin Green (greenrd) wrote :

Sorry, correction - that eclipse bug report describes BOTH manifestations of this bug - upgrading AND installing.

I got confused because I'd encountered the installing manifestation first, and found the workaround at that eclipse bug report.

Revision history for this message
In , Pascal-w (pascal-w) wrote :

Many things around shared installs have been fixed in the course of Kepler.

Changed in eclipse-eclipsers:
importance: Unknown → High
status: Unknown → Fix Released
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.