Home » Eclipse Projects » Oomph » EGit update site broken?
EGit update site broken? [message #1780777] |
Fri, 26 January 2018 23:40 |
Ernesto Posse Messages: 438 Registered: March 2011 |
Senior Member |
|
|
Hi. Sorry for cross-forum posting, but I'm not sure if this is an Oomph problem, or an EGit problem, but at least there is an Oomph angle to it.
I'm developing a simple setup model which includes several standard features such as the eclipse platform, emf, uml2, mwe2, papyrus, papyrus sysml and a few others, all on an Oxygen stream and with standard p2 URLs. However I get the error below complaining that the EGit update site p2 repo ( http://download.eclipse.org/egit/updates) cannot be read.
Note that my setup model *does not* explicitly list the EGit repo, so it looks like it is added by Oomph automatically. Is this so?
However that repo seems to be correct. You can check it in Oomph's Repository Explorer and everything seems to be in place.
Nevertheless, I tried to add this EGit repo to a plain, minimal Eclipse platform installation (without anything, i.e. http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.2-201711300510/download.php?dropFile=eclipse-platform-4.7.2-macosx-cocoa-x86_64.dmg) manually rather than with Oomph and found out that the following:
1. doing this in my user account (where I normally use Oomph and Eclipse) and it works fine (no p2 provision errors)
2. but doing this in a new fresh user that has no traces of Eclipse I get a very similar error (at the bottom).
This suggests that maybe there is some implicit dependency from EGit, is this so?
Thanks
ERROR: org.eclipse.equinox.p2.metadata.repository code=1002 Unable to read repository at http://download.eclipse.org/egit/updates.
org.tukaani.xz.XZFormatException: Input is not in the XZ format
at org.tukaani.xz.common.DecoderUtil.decodeStreamHeader(Unknown Source)
at org.tukaani.xz.SingleXZInputStream.initialize(Unknown Source)
at org.tukaani.xz.SingleXZInputStream.initialize(Unknown Source)
at org.tukaani.xz.SingleXZInputStream.<init>(Unknown Source)
at org.tukaani.xz.XZInputStream.<init>(Unknown Source)
at org.tukaani.xz.XZInputStream.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.metadata.repository.XZedSimpleMetadataRepositoryFactory.load(XZedSimpleMetadataRepositoryFactory.java:80)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:117)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:409)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:201)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:476)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$RepositoryLoader$Worker.perform(ProfileTransactionImpl.java:1613)
at org.eclipse.oomph.util.WorkerPool$Worker.run(WorkerPool.java:428)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Unable to read repository at http://download.eclipse.org/egit/updates.
Unable to read repository at http://download.eclipse.org/egit/updates.
Input is not in the XZ format
[Updated on: Fri, 26 January 2018 23:42] Report message to a moderator
|
|
| |
Re: EGit update site broken? [message #1780911 is a reply to message #1780781] |
Mon, 29 January 2018 21:57 |
Ernesto Posse Messages: 438 Registered: March 2011 |
Senior Member |
|
|
Hi. It means that I performed the following steps:
(This is on macOS Sierra, if it matters)
1. log in as a new fresh (non admin) user (no ~/.eclipse, or ~/.p2 or any trace of Eclipse on it)
2. downloaded the basic Eclipse platform package (http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.2-201711300510/download.php?dropFile=eclipse-platform-4.7.2-macosx-cocoa-x86_64.dmg); (Also tried with the Eclipse SDK and got the same results)
3. started it; fresh new workspace
4. went to Install New Software
5. clicked on [Add...] and added the p2 info for EGit, with url http://download.eclipse.org/egit/updates
6. clicked [OK].
7. from the drop-down list of repos I selected the new EGit repo
Then I got a dialog with the error message:
Unable to read repository at http://download.eclipse.org/egit/updates.
Unable to read repository at http://download.eclipse.org/egit/updates.
Input is not in the XZ format
I may be behind a company proxy, but this does not occur in my normal user. The only difference that I see is that my normal user has admin rights and have previously installed (several versions of) Eclipse.
After searching a bit more the forums and bugzilla, I see that others have run into similar issues (e.g. Bug 516602, Bug 515359, Msg 1763841, Msg 1764934), and suggestions that there might be a network issue on my end, others on the Eclipse servers, and other suggest it might have something to do with the local p2 cache, but there doesn't seem to be a satisfactory answer.
Since this is for a new fresh user, which doesn't have a ~/.eclipse folder, it cannot be the cache issue.
It doesn't seem to be an Eclipse server issue since it seems to work for you.
So maybe it's a network issue on my end, but how, if it works on one user but not the other? And if it was a network issue, why do other update sites seem to work fine even for the fresh new user?
Could it be an issue with p2 itself?
Thanks
|
|
| | | |
Goto Forum:
Current Time: Wed Dec 04 15:41:39 GMT 2024
Powered by FUDForum. Page generated in 0.04042 seconds
|