Update Site list is empty in "Install New Software"

Bug #460944 reported by Wiz of Id
174
This bug affects 36 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Lucid by João Neves
Nominated for Maverick by Jarek Fuks
Karmic
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

Description: Ubuntu 9.10
Release: 9.10

eclipse (3.5.1+repack~1-0ubuntu1) [universe]

- Installed eclipse
- Launched eclipse
- Gone to "Install New Software"
- Expected to find the default update sites with the so-called "enabling features" and so on just as if I downloaded the package from eclipse.org

Found nothing, empty list.
This is not the "GDK_NATIVE_WINDOWS" bug: the list is properly rendered, but is empty.

I cannot install any plugin like subversive, m2eclipse, some WTP parts, because they all require some components from the default update sites which are not shown anywhere.

Solution:
Add "http://download.eclipse.org/releases/galileo/" as update site.

Related branches

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

Which packages are missing from the default update site?

Revision history for this message
Wiz of Id (trumbitta) wrote :

No update site at all

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

I want to know which packages files / modules are missing if you want to install subversive, m2eclipse, or WTP (and not which update site is missing in the list).

Revision history for this message
Wiz of Id (trumbitta) wrote :

subversive: nevermind, I can get all the necessary from polarion as usual

m2eclipse:
Cannot complete the install because one or more required items could not be found.
  Software being installed: Maven Integration for Eclipse (Required) 0.9.9.200909092308 (org.maven.ide.eclipse.feature.feature.group 0.9.9.200909092308)
  Missing requirement: Maven Integration for Eclipse (Required) 0.9.9.200909092308 (org.maven.ide.eclipse.feature.feature.group 0.9.9.200909092308) requires 'org.eclipse.emf.ecore 0.0.0' but it could not be found

WTP: there isn't any update site at all in the list, so I can't find WTP and install it as usual from Galileo

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Wiz of Id (trumbitta) wrote :

BTW, finding http://download.eclipse.org/releases/galileo or something similar in the list would be fine

Revision history for this message
istrategy (gert) wrote :

Tx it worked for me.

Revision history for this message
Daniel Rutledge (danieljrutledge) wrote :

I'm having exactly the same issue; when I upgraded to Ubuntu 9.10 (from 9.04), I lost all my plugins (Java EE) in eclipse and there are no update sites listed under Install New Software... . When I added http://download.eclipse.org/releases/galileo and selected the Java EE developer plugin, the next button won't do anything, or it will say "an unexpected error occurred"

Revision history for this message
Daniel Rutledge (danieljrutledge) wrote :

Ive re-installed all the eclipse related modules using the software manager, and I still have no update sites and selecting http://download.eclipse.org/releases/galileo and then the Java EE plug-in usually causes a memory overload and eclipse crashes. Can anyone suggest any alternate update sites for the time being?

Revision history for this message
Rockwalrus (rockwalrus) wrote :

An alternative update site will just cause the same problem. You need to increase the amount of memory Eclipse is allowed to use. Edit /usr/lib/eclipse/eclipse.ini. Find the line that says -Xmx256m and change it to the maximum amount you want Eclipse to use. For example, a maximum of 512 MB is -Xmx512m

Revision history for this message
Jarl (jarl-dk) wrote :

A similar error occurs when you do
 - Launched eclipse
 - Gone to "Check for updates"

Revision history for this message
Paul (paul-peters) wrote :

As a workaround install eclipse plugins with

sudo

Then the standard update sites are available. And at least installation of

subversive

worked quite well. Only the "Subversive Connector Discovery" did not start when eclipse relaunched, but going to "Preferences->Team->SVN" launched it.

Revision history for this message
EzNet (zeroezezero) wrote :

Same thing here. Wish I cold do more than toss my name in the hat.

Only potentially value adding content I can think of is:
- Not GDK bug
- Happens on both /usr/lib/jvm/java-6-sun/jre/bin/java and /usr/lib/jvm/java-6-sun/jre/bin/java
- Sudo doesn't help me. Empty.

Running repo Eclipse 3.5 on 9.10

Revision history for this message
EzNet (zeroezezero) wrote :

Update:

Buttons weren't working correctly. "Install New Software" list was empty.

Buttons were the GDK bug. Empty software list was something with either my .eclipse folder or my WORKSPACE/.metadata - I removed both and am now able to install what want without issues.

Revision history for this message
Viktor Fonic (vfonic) wrote :

I've found a workaround for this problem. It doesn't work every time, but it works from time to time (good luck).
The thing is that the list is populated correctly, but I guess repaint() method isn't called correctly.
Anyway, if you try to click somewhere on that empty list, the list will eventually show up, and you'll be able to do whatever you wanted to do with entries in that list. Once again, good luck!

Revision history for this message
UbuntuCleric (ubuntucleric) wrote :

Throwing my hat into the ring. I just installed eclipse via synaptic (version 3.5.1+repack~1-0ubuntu3), and the Update Site list was empty for me as well. I don't think it was a GTK painting bug, since I couldn't find "Eclipse XML Editors and Tools ". I had to export the list from the Eclipse on my Windows partition, and then import it into the one in my Ubuntu partition.

Revision history for this message
mikel (random-blue) wrote :

i resized the updates window with the mouse and the list showed up! :o... i hope this bug gets fixed 'cuse it's annoying :@...

pd: the buttons don't work well too :@...

Revision history for this message
Andrea Bernardini (andrebask) wrote :

I'm having the same problem, but I installed Eclipse by downloading the zip package from the site, then perhaps the problem does not depend directly from the ubuntu package.

Revision history for this message
DirtyAffairs (dirtyaffairs) wrote :

Im having same issue, update list is empty.

My workaround:

- Select your desired update site (after this list is empty).
- Type something in the filter.
- Delete what you wrote before.

At this moment i can see all the elements in the list.

Revision history for this message
Wiz of Id (trumbitta) wrote :

update SITE list is empty. The list ABOVE the filter is empty, not the list BELOW the filter.

This bug report is about the list "Work with:"

Please, stop "bugging this bug report".
This is not the bug fixed by setting GDK_NATIVE_WINDOWS which is about the little rectangular box ( BELOW the update SITE LIST ) showing as empty while is not.

Revision history for this message
George (kevin-brothaler) wrote :

This bug is still present as of Dec-07-2009

Revision history for this message
Marco Ferretti (marco-ferretti) wrote :

Just installed eclipse via apt-get; list of update sites is empty and it does not seem to be a GTK problem but a packaging problem since exporting the list from another installation of eclipse and importing it worked for me.

using Ubuntu 9.10 - the Karmic Koala
uname -a : Linux 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux

Last updated DEC. 20th 2009

Revision history for this message
Craig (craiglrobinson) wrote :

I ran into the same problem with two installation methods.

1 - Installed the apt-get
2 - Installed by downloading the Eclipse IDE EE for Java Developers from the eclipse site.

In both cases I found that the list displayed the first time I started eclipse - but not on subsequent attempts.

The problem was "solved" by resizing the window (smaller - not larger). (Using Ubunut 9.10)

Revision history for this message
Wiz of Id (trumbitta) wrote : Re: [Bug 460944] Re: Update Site list is empty in "Install New Software"

On Mon, Dec 28, 2009 at 9:04 AM, Craig <email address hidden> wrote:
>
> I ran into the same problem with two installation methods.

don't think so

>
> The problem was "solved" by resizing the window (smaller - not larger).
> (Using Ubunut 9.10)

Yeah, and this is the GDK related bug. Not THIS bug.

--
jAPS Developer [http://www.japsportal.org/]
jAPS Blogger [http://japsway.blogspot.com/]

"[...] perchè è soltanto per le cose che ci riguardano più
profondamente che noi mentiamo con chiarezza e assoluta convinzione."
Michael Moorcock - Elric di Melnibonè

"Non hai alcun diritto...
... di modificare la realtà senza il mio permesso!"
Aga Mbadi - Alita Last Order - Phase: 43 "Figlio del caos"

Revision history for this message
FreeMinded (pascal-planetmages) wrote :

Just ran into this issue as well. Adding http://download.eclipse.org/releases/galileo/ to the list of "install new software" did the trick for me. Would be great if this could be added as default. Doesn't seem to be a big issue to do so but would make a big difference. Thanks!

Revision history for this message
George (pyrios) wrote :

The current eclipse package for ubuntu does not have any software update sites.

For the current version of eclipse classic available here

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-linux-gtk.tar.gz

It comes with the following software sites that should be in the ubuntu package.

The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/3.5
Galileo - http://download.eclipse.org/releases/galileo

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

Thanks guys. I'm new to programming. Had to use Eclipse in School on Windows, so I thought let's use it on Ubuntu. What a shock it was so bad on Ubuntu :-( Nothing worked, no Java highlighting, no text editor, no plugins... but with the help of this thread at least this was resolved (i was already booting to Windows to do my homework in Eclipse, can you believe that?).

Revision history for this message
Andre Aziz (andreaziz) wrote :

Adding http://download.eclipse.org/releases/galileo to the list worked for me too.

Changed in eclipse (Ubuntu):
assignee: nobody → Niels Thykier (niels-thykier)
status: Triaged → In Progress
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

This bug has been fixed on our VCS - with the next upload, our eclipse-wrapper will inject the galileo update site if (and only if) ~/.eclipse does not exist. Old users will have to add it manually via the eclipse update menu (or remove their ~/.eclipse/ before starting eclipse).

Thank you for your patience,
~Niels

Changed in eclipse (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Milo nimrod (milon) wrote :

I've added the update site to the list but still
the button problem remains. It does solve the the list problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.1+repack~3-0ubuntu2

---------------
eclipse (3.5.1+repack~3-0ubuntu2) lucid; urgency=low

  * Rebase to packaging from pkg-java/eclipse (thanks to Niels Thykier):
    + Set a sane file limit for osgi-bundles. (Closes: #558693, LP: #293573)
    + Inject update sites on first run. (LP: #460944)
    + Prevent conflict with swt-gtk's swt packages.
      - Rename our swt packages.
      - Do not install conflicting symlinks/files.
      (Closes: #541638, LP: #491880)
    + Imported patch from Fedora that fixes seg. faults in libpango.
      (LP: #445009)
    + Update manpage. (LP: #494065)
    + Bump Standards-Version to 3.8.4.
  * Re-add versioned dependency on libcommons-el-java, libjetty-java,
    libservlet2.4-java; the packages are now available in Ubuntu.
  * Drop versioned dependency on liblucene2-java and libmx4j-java; they are not
    yet available in Ubuntu.
 -- Benjamin Drung <email address hidden> Sat, 30 Jan 2010 18:55:04 +0100

Changed in eclipse (Ubuntu):
status: Fix Committed → Fix Released
Florian Hars (hars)
Changed in eclipse (Ubuntu):
status: Fix Released → Confirmed
Florian Hars (hars)
Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Florian Hars (hars) wrote :

This bug is still alive and kicking in 3.5.1+repack~1-0ubuntu3.
I just reinstalled it, removed ~/workspace and ~/.eclipse, started eclise and got an empty list of update sites.

Changed in eclipse (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Florian Hars (hars) wrote :

Doh, stupid long version numbers...

Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
assignee: Niels Thykier (niels-thykier) → nobody
Revision history for this message
Ash (flubba86) wrote :

I can confirm this bug has reappeared in 3.5.1+repack~1-0ubuntu3. Manually added these two sites to work around the problem.
The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/3.5
Galileo - http://download.eclipse.org/releases/galileo

Changed in eclipse (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi Ash

Yes, this bug is still in 3.5.1+repack~1-0ubuntu3, since we did not fix it until 3.5.1+repack~3-0ubuntu2. If you can reproduce this in 3.5.1+repack~3-0ubuntu2 (after having removed/renamed your ~/.eclipse) then please reopen it.

~Niels

Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Darkmike (mikefaille) wrote :

The update site list is still empty.

Eclipse deb version: 3.5.1+repack~1-0ubuntu3

This is my procedure before the test:
sudo aptitude purge eclipse
sudo rm -R /usr/lib/eclipse/
sudo rm -R /usr/share/eclipse
sudo rm -R ~/.eclipse/
sudo aptitude install eclipse

Revision history for this message
Darkmike (mikefaille) wrote :
Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 460944] Re: Update Site list is empty in "Install New Software"

Darkmike wrote:
> The update site list is still empty.
>
> Eclipse deb version: 3.5.1+repack~1-0ubuntu3
>

Yes because it was not fixed in this version!

Affected: 3.5.1+repack~*1*-0ubuntu3
Fixed in: 3.5.1+repack~*3*-0ubuntu2

(Stars were added to highlight a part of the version; they are not a
part of the version).

~Niels

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

@Darkmike: This bug is fixed in lucid (Ubuntu 10.04), but not in karmic. You have to add the update site manually in karmic.

Revision history for this message
Dylan Taylor (dylanmtaylor) wrote :

Still an issue in Lucid x86_64... :(

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

Dylan Taylor wrote:
> Still an issue in Lucid x86_64... :(
>

Hi

This was fixed in eclipse (3.5.1+repack~3-0ubuntu2) - the update sites
will be injected if (and only if) ~/.eclipse does *not* exist when you
start eclipse. This is usually only the case if you never used eclipse
before on the machine. However, since you used the word "Still", I guess
you upgraded and thus have a ~/.eclipse.
  If you have run eclipse previously, you will have to add these updates
sites yourself.

If you can reproduce this in any eclipse >= 3.5.1+repack~3-0ubuntu2
after removing your ~/.eclipse, then by all means reopen this bug.

Thank you in advance,
~Niels

Revision history for this message
Martin Pitt (pitti) wrote :

The current stable release update proposal in the queue adds a file "debian/extra/eclipse" which looks like a shell script wrapper to address this bug. However, the new script isn't installed anywhere, and I also do not see a dh_install or debian/rules change to move the original eclipse binary. Is that incomplete, or is there some nonobvious magic?

Changed in eclipse (Ubuntu Karmic):
assignee: nobody → Niels Thykier (niels-thykier)
status: New → Incomplete
Revision history for this message
Martin Pitt (pitti) wrote :

Setting to incomplete and keeping in the queue until the question in the previous comment gets addressed. Thanks!

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

Martin Pitt wrote:
> The current stable release update proposal in the queue adds a file
> "debian/extra/eclipse" which looks like a shell script wrapper to
> address this bug. However, the new script isn't installed anywhere, and
> I also do not see a dh_install or debian/rules change to move the
> original eclipse binary. Is that incomplete, or is there some nonobvious
> magic?
>
> ** Also affects: eclipse (Ubuntu Karmic)
> Importance: Undecided
> Status: New
>
> ** Changed in: eclipse (Ubuntu Karmic)
> Assignee: (unassigned) => Niels Thykier (niels-thykier)
>
> ** Changed in: eclipse (Ubuntu Karmic)
> Status: New => Incomplete
>

Hi

I do not see how you come to the conclusion that the script is new. It
has existed since the 15th of Sep 2009[1] (before that it was known as
eclipse.sh) and we have had plenty of uploads since then to Ubuntu Karmic.

That being said, no - you do not see any changes that install it because
they were already in place. What you are looking for are line 165 of
debian/rules and line 1 of eclipse-platform.install.

~Niels

[1]
http://git.debian.org/?p=pkg-java/eclipse.git;a=commitdiff;h=7dda41d53b25291a9bc1ded2b2f13009436cba7e

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu Karmic):
status: Incomplete → New
assignee: Niels Thykier (niels-thykier) → nobody
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted eclipse into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in eclipse (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
João Neves (jneves) wrote :

Just noted the verification-needed. I can verify that it works on Lucid according to the behavior on comment #40. After I deleted ~/.eclipse, I have the update server url defined.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.1+repack~1-0ubuntu4

---------------
eclipse (3.5.1+repack~1-0ubuntu4) karmic-proposed; urgency=low

  * Backported patch from upstream to fix libpango crashes. (LP: #531376)
  * Backported update site injection. (LP: #460944)
 -- Niels Thykier <email address hidden> Sat, 27 Mar 2010 23:21:55 +0100

Changed in eclipse (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
bwanamarko (bwanamarko) wrote :

If anyone is still having this issue with Indigo (3.7.2), try deleting your .metadata folder in your workspace, it may be corrupted. See this StackoverFlow Q/A http://stackoverflow.com/a/11153397/1020470. It worked for me.

Revision history for this message
Eric Kertz (erickertz) wrote :

I'm using 12.10 6x and just installed eclipse 3.8 from the software center, this issue still exists. I tried deleting the .metadata folder but the problem still exists. For now I added Juno to the software sites list and all seems well. Thouhn I'm not quite clear if 3.8 is actually Juno...

http://download.eclipse.org/releases/juno/

Revision history for this message
Dmitry Sandalov (dmitry-sandalov) wrote :

resolved the issue with this workaround:

rm ${YOUR_WORKSPACE_FOLDER}/.metadata/.plugins/org.eclipse.equinox.p2.ui/dialog_settings.xml

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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