Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Install of 2020-06 on Ubuntu 18.04 VM fails with "Input is not in the XZ format"
Install of 2020-06 on Ubuntu 18.04 VM fails with "Input is not in the XZ format" [message #1829412] Fri, 03 July 2020 02:15 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 701
Registered: July 2009
Senior Member
I am trying to install Eclipse 2020-06 into an Ubuntu 18.04 VM. I've been able to download the installer, and the install starts, but multiple times in a row now it fails with the following stacktrace:

[2020-07-02 19:02:05] 
[2020-07-02 19:04:44] Executing bootstrap tasks
[2020-07-02 19:04:44] Java(TM) SE Runtime Environment 1.8.0_251-b08
[2020-07-02 19:04:44] Product org.eclipse.products.epp.package.java.2020-06
[2020-07-02 19:04:44] Bundle org.eclipse.oomph.setup 1.17.0.v20200606-0914, build=4683, branch=11a8454bc4da69195dc3e9f065bbd8fe43f77e1e
[2020-07-02 19:04:44] Bundle org.eclipse.oomph.setup.core 1.17.0.v20200531-1047, build=4683, branch=11a8454bc4da69195dc3e9f065bbd8fe43f77e1e
[2020-07-02 19:04:44] Bundle org.eclipse.oomph.setup.p2 1.15.0.v20200531-1047, build=4683, branch=11a8454bc4da69195dc3e9f065bbd8fe43f77e1e
[2020-07-02 19:04:44] Performing P2 Director (Eclipse IDE for Java Developers (2020-06))
[2020-07-02 19:04:44] Offline = false
[2020-07-02 19:04:44] Mirrors = true
[2020-07-02 19:04:44] Resolving 16 requirements from 3 repositories to /home/dk068x/eclipse/java-2020-06/eclipse
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:epp.package.java [4.16.0,5.0.0)
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.platform.feature.group [4.16.0,5.0.0)
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.rcp.feature.group [4.16.0,5.0.0)
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.buildship.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.eclemma.feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.egit.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.epp.mpc.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.jdt.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.jgit.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.lemminx.feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.logback.feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.mylyn.wikitext_feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.tips.feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.wildwebdeveloper.xml.feature.feature.group
[2020-07-02 19:04:44] Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.feature.group
[2020-07-02 19:04:44] Repository http://download.eclipse.org/technology/epp/packages/2020-06
[2020-07-02 19:04:44] Repository http://download.eclipse.org/releases/2020-06/202006171000
[2020-07-02 19:04:44] Repository http://download.eclipse.org/oomph/updates/milestone/latest
[2020-07-02 19:09:50] ERROR: org.eclipse.equinox.p2.metadata.repository code=1002 Unable to read repository at http://download.eclipse.org/releases/2020-06/202006171000.
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.<init>(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.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:82)
  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
  at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
  at sun.reflect.GeneratedMethodAccessor4.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:423)
  at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:214)
  at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:495)
  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$RepositoryLoader$Worker.perform(ProfileTransactionImpl.java:1577)
  at org.eclipse.oomph.util.WorkerPool$Worker.run(WorkerPool.java:434)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

[2020-07-02 19:09:50] 
Re: Install of 2020-06 on Ubuntu 18.04 VM fails with "Input is not in the XZ format" [message #1829415 is a reply to message #1829412] Fri, 03 July 2020 04:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31713
Registered: July 2009
Senior Member
Does it fail the same way repeatedly? If so, perhaps something corrupted was cached. You can use the Bundle Pools dialog's Clear Cache... to clear them so that they're downloaded from the internet again.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Install of 2020-06 on Ubuntu 18.04 VM fails with "Input is not in the XZ format" [message #1829416 is a reply to message #1829412] Fri, 03 July 2020 05:26 Go to previous message
David M. Karr is currently offline David M. KarrFriend
Messages: 701
Registered: July 2009
Senior Member
I've managed to get past this, but I'm only hitting another symptom of the same problem. I had been attempting to optimize space usage on the VM by having the ~/.p2 directory be a symlink to the corresponding directory on the Windows host (through a shared folder), but I had given up on that and didn't realize that that relationship was encoded in the ~/.eclipse directory somehow. I've tried to delete all vestiges of that, but it still seems to reappear. I'm going to post a new note with updated information.
Previous Topic:Can ~/.p2 be shared between Linux and Windows on the same computer?
Next Topic:Eclipse installer .p2 on Linux VM continually gets translated to 'C:\Users\<user>\.p2\pool'
Goto Forum:
  


Current Time: Wed Jan 27 11:45:42 GMT 2021

Powered by FUDForum. Page generated in 0.02284 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top