Install new software... wont open and I lost all my plugins since upgrade

Bug #481565 reported by Peter Nagy
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Eclipse Team

Bug Description

Binary package hint: eclipse

I had several plugins installed in Eclipse 3.5.0. Now with the update to 3.5.1+repack~1-0ubuntu3 I lost all of them. For example opening Eclipse PDT Views are not working anymore.
Also I cannot start the "Install new software..." command in Help menu. It simply not start at all.

peter@antronin:~$ apt-cache policy eclipse
eclipse:
  Telepítve: 3.5.1+repack~1-0ubuntu3
  Jelölt: 3.5.1+repack~1-0ubuntu3
  Verziótáblázat:
 *** 3.5.1+repack~1-0ubuntu3 0
        500 http://hu.archive.ubuntu.com karmic-updates/universe Packages
        100 /var/lib/dpkg/status
     3.5.1+repack~1-0ubuntu1 0
        500 http://hu.archive.ubuntu.com karmic/universe Packages

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

How did you install the plugins? As user or as root? Which version did you use before? The Ubuntu package?

Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
Peter Nagy (antronin) wrote :

Well, I had a previous installation from ubuntu package (3.2) and another one in my home folder manually installed.
I haven't been able installing any plugins as user only as root in the Ubuntu package installed version, so I did that previosly. Now with the new install they are gone.
What should I do to get them back?

Revision history for this message
Peter Nagy (antronin) wrote :

I solved the case by doing the following:
1. in /usr/lib/eclipse I changed the files owner group from "root" to "users" (sudo chown -R root:users *)
2. I added write permission to the group on all files (sudo chmod -R g+r *)
The installation issue were solved with tha, I'm able to update plugins although the already installed plugins it wasn't able see or use.
So I decided to remove everything with purge (in Synaptic I filtered for "eclipse" and marked all the packages starting with "eclipse" to purge) after I saved my workspace folder to be on the safe side. I took some time and some files it was not able to remove (like configuration folder in /usr/lib/eclipse) so I removed them manually.
After that I reinstalled all the needed "eclipse" packages from synaptic, and voilá: it just works. :)

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

We do not recommend to install plugins as root. This can cause problems that can only resolved by purging the package, removing the remaining files, and install the package again (like you did).

With the karmic package you can install the plugins as user.

Changed in eclipse (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
gururise (gururise) wrote :

I too cannot use the "Install New Software" Menu item from the Help Menu. Nothing happens when I click it.
I am using the latest Ubuntu 9.10 64-bit with Eclipse 3.5.1+repack~1-0ubuntu3 package installed via synaptic.

Changed in eclipse (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
gururise (gururise) wrote :

Confirmed in Ubuntu 9.10 with latest eclipse packages 3.5.1+repack~-0ubuntu3 (64 bit)

Changed in eclipse (Ubuntu):
assignee: nobody → Eclipse Team (eclipse-team)
Revision history for this message
gururise (gururise) wrote :

Note: This is not the GDK_NATIVE_WINDOWS bug.. as all other menu items and buttons work except for "Help->Install New Software" and "Help->Update Software"

Revision history for this message
Gytis Raciukaitis (noxxious) wrote :

I can confirm this with the following:
eclipse:
  Installed: 3.5.1+repack~3-0ubuntu2
  Candidate: 3.5.1+repack~3-0ubuntu2
  Version table:
 *** 3.5.1+repack~3-0ubuntu2 0
        500 http://ftp.litnet.lt lucid/universe Packages
        500 http://archive.ubuntu.com lucid/universe Packages
        100 /var/lib/dpkg/status

Whatever plugins I install they are appear in ~/.eclipse, but they are never loaded.

Revision history for this message
Gytis Raciukaitis (noxxious) wrote :

I'm on Lucid x64 and the way to reproduce this is easy:
1) delete ~/.eclipse
2) start eclipse as a regular user
3) try to install some third party plugin
4) restart when prompted and the plugin is not loaded, although appears as installed.

I checked the configuration with the legacy installer and the status for the custom plugins is "Not included in the runtime".

Revision history for this message
Mathieu Laurent (mla) wrote :

Hi Gytis,

I have the same problem :

https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/530601

Do you have a workaround ?

Regards

Mathieu

Revision history for this message
Mathieu Laurent (mla) wrote :

Good news ! Fixed we the new eclipse version in ubuntu lucid

https://launchpad.net/ubuntu/lucid/+source/eclipse/3.5.2-2ubuntu1

Changed in eclipse (Ubuntu):
status: Confirmed → 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.