Can't install EGit, network error

Bug #566025 reported by Michael Doube
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jsch (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

I'm unable to install EGit from its download site, http://download.eclipse.org/egit/updates. Eclipse tells me:

Network connection problems encountered during search.
  Unable to access "http://download.eclipse.org/egit/updates".
    Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
    The XML stream is not a valid default "site.xml" file. The root tag is not site.
    Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
    The XML stream is not a valid default "site.xml" file. The root tag is not site.

This appears to be a new issue; I installed EGit fine a few days ago, and can do so with a binary distribution of eclipse downloaded from eclipse.org.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eclipse 3.5.2-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Sun Apr 18 16:15:03 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100412)
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: eclipse
xulrunner-versions: /usr/lib/xulrunner-1.9.2.3

Revision history for this message
Michael Doube (michael-doube) wrote :
description: updated
description: updated
Revision history for this message
nanouck (nanouck) wrote :

Hello,

IMHO it is not an eclipse/ubuntu issue but egit update site issue because you cannot even browse manually
http://download.eclipse.org/egit/updates/site.xml (404)

=> so it should be closed (Invalid?)

Regards,

Nicolas

Revision history for this message
André (afsverissimo) wrote :

this is by no means a solution but have you tried the nightly?

http://download.eclipse.org/egit/updates-nightly/

Revision history for this message
nanouck (nanouck) wrote :

I mean, this issue should be reported to egit team.

Unfortunately, nighty-builds update site has the same issue as release one :-(

Revision history for this message
nanouck (nanouck) wrote :

regrading this comment on egit bugtracker https://bugs.eclipse.org/bugs/show_bug.cgi?id=307534

you can download (nightly-build) update-site zip here => http://download.eclipse.org/egit/site.zip

Revision history for this message
Michael Doube (michael-doube) wrote :

Thanks for the feedback guys, but what is confusing is that I can use a binary eclipse Build id: 20100218-1602 and work with:EGit - http://download.eclipse.org/egit/updates and can install EGit 0.7.1 just fine. The debs supplied by Ubuntu seem broken.

I wonder whether this is related to bug #530414 ?

Revision history for this message
Michael Doube (michael-doube) wrote :

After today's updates to the eclipse packages, I can connect to the EGit download site but I get this error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Eclipse JGit Feature (Incubation) 0.7.1 (org.eclipse.jgit.feature.group 0.7.1)
  Missing requirement: JGit Core (Incubation) 0.7.1 (org.eclipse.jgit 0.7.1) requires 'package com.jcraft.jsch [0.1.41,0.2.0)' but it could not be found
  Cannot satisfy dependency:
    From: Eclipse JGit Feature (Incubation) 0.7.1 (org.eclipse.jgit.feature.group 0.7.1)
    To: org.eclipse.jgit 0.0.0

Pretty strange because I can see jsch-0.1.42.jar in /usr/share/java, installed by the libjsch-java Ubuntu package

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

I was able to install Eclipse git (EGit + JGit) from http://download.eclipse.org/egit/updates (with eclipse 3.5.2-2ubuntu4 on amd64).

Does /usr/lib/eclipse/plugins/com.jcraft.jsch_0.1.42.jar exists and point to /usr/share/java/jsch.jar which points to jsch-0.1.42.jar?

Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Doube (michael-doube) wrote :

@Benjamin

Yes, the jsch links you describe exist on my system. Perhaps something is broken that requires me to do a fresh installation of eclipse. Removing my user .eclipse directory doesn't help.

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

Removing ~/.eclipse should be enough to produce a clean system (except a possibly modified /etc/eclipse.ini).

I have no clue how to debug your problem.

Changed in eclipse (Ubuntu):
status: Incomplete → New
Revision history for this message
Michael Doube (michael-doube) wrote :

Just tried a fresh install of eclipse, no improvement. Thanks for your suggestions Benjamin.

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

Hi

The issue is in libjsch-java and not the eclipse package - though keep it assigned here[1]. I will have a look at fixing it.

~Niels

[1] I doubt regular users will check libjsch-java when they see this issue.

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

This has been fixed in our SVN repository and will be fixed in jsch (0.1.42-2).

~Niels

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

I have prepared a patch (apply with -p1) against jsch 0.1.42-1build1 for lucid-proposed.

~Niels

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

It's fixed in maverick by jsch 0.1.42-2fakesync1.

affects: eclipse (Ubuntu) → jsch (Ubuntu)
Changed in jsch (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Benjamin Drung (bdrung) wrote :

uploaded 0.1.42-1ubuntu0.1 to lucid proposed

tags: added: patch
Revision history for this message
Jonathan Riddell (jr) wrote :

ubuntu-sru subscribed. awaiting their approval.

test case needed on this bug

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted jsch into lucid-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 jsch (Ubuntu Lucid):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Michael Doube (michael-doube) wrote :

Fix in lucid-proposed works here, thanks!

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 jsch - 0.1.42-1ubuntu0.1

---------------
jsch (0.1.42-1ubuntu0.1) lucid-proposed; urgency=low

  * Added missing versions to the OSGi export statements. (LP: #566025)
 -- Niels Thykier <email address hidden> Sun, 27 Jun 2010 21:16:00 +0200

Changed in jsch (Ubuntu Lucid):
status: Fix Committed → 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.