Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Package Drone » Difficulty setting up an example p2 repository
Difficulty setting up an example p2 repository [message #1734309] Tue, 07 June 2016 04:20 Go to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
Hi,

I've followed the recipe text to create this sample channel (big thanks for providing the easy openshift setup) and I've uploaded my Tycho build to it. Eclipse successfully sees the update site, but it can't download any of the artifacts:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.modeling, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.mdht.cda.xml.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.cda.xml.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.dita.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.dita.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.emf.runtime,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.emf.runtime.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.transform.core,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.transform.core.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.ant,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.ant.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.core,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.core.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.dita,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.dita.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.resources,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.resources.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.transform,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.transform.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.validation,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.validation.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.common,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.common.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.common.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.common.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.edit,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.edit.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.hl7.datatypes,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.hl7.datatypes.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.hl7.rim,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.hl7.rim.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.hl7.vocab,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.hl7.vocab.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.term.core,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.term.core.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.term.transform,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.term.transform.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.term.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.term.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.transform,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.transform.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.transform.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.transform.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.ui,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.ui.navigator,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.ui.navigator.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.ui.properties,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.ui.properties.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.ui.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.validation,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.validation.source,3.0.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.dita,3.0.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.dita.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.fhir.xsd,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.fhir.xsd.source,0.5.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.cda.basic,3.0.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.cda.basic.source,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.test,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.cda.test.source,3.0.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.cda.tooling,3.0.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.cda.tooling.source,3.0.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml,3.0.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.common,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.common.source,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.core,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.core.source,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.edit,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.edit.source,0.5.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.fhir.feature,0.5.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.fhir.feature.source,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.source,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.transform,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.transform.source,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.ui,0.5.0.201606070333
No repository found containing: osgi.bundle,org.eclipse.mdht.uml.fhir.ui.source,0.5.0.201606070333
No repository found containing: org.eclipse.update.feature,org.eclipse.mdht.uml.source,3.0.0.201606070333


What could be the problem?
Re: Difficulty setting up an example p2 repository [message #1734315 is a reply to message #1734309] Tue, 07 June 2016 04:45 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
I've tried some of the P2 repositories on the demo site and couldn't find one that worked; all gave the error of:

Unable to read repository at https://thedrone.packagedrone.org/p2/apm_cc09dc42-60a6-454b-b1e1-c82f92d2a4cc/content.xml.
Unable to read repository at https://thedrone.packagedrone.org/p2/apm_cc09dc42-60a6-454b-b1e1-c82f92d2a4cc/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Re: Difficulty setting up an example p2 repository [message #1734326 is a reply to message #1734315] Tue, 07 June 2016 08:27 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
I see. This seems to be an issue with P2. Try not to use the HTTPS version but plain HTTP.
Re: Difficulty setting up an example p2 repository [message #1734506 is a reply to message #1734326] Thu, 09 June 2016 04:22 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
I'm using http://packagedrone-yuklhvljg.rhcloud.com/p2/mvn1/ and getting the same error still. P2 error messages are pretty terrible and uninformative here as well, making this difficult to debug. https://stackoverflow.com/questions/6470802/what-to-do-about-eclipses-no-repository-found-containing-error-messages shows solutions all over the place and none have helped.
Re: Difficulty setting up an example p2 repository [message #1734616 is a reply to message #1734506] Thu, 09 June 2016 23:32 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
I don't think I can use http on http://packagedrone.eclipse.org/p2/neoscada-0.4-deps, because it always redirects to https://. A brand new Eclipse installation doesn't see anything:

http://pix.toile-libre.org/upload/original/1465515108.png

I'd like to confirm P2 repositories are working in Package Drone, but so far neither the demo system nor my sample one are working :/

[Updated on: Fri, 10 June 2016 00:21]

Report message to a moderator

Re: Difficulty setting up an example p2 repository [message #1734688 is a reply to message #1734616] Fri, 10 June 2016 10:37 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
You are right, the package drone demo system is set up to forward to https. P2 seems to have issues with https.

The easiest way is to directly install a package drone version. If you don't want to do that locally, you can always spin up a machine at OpenShift Hub [1] for free.

I will dig into a possible solution for this with the demo systems. But this may take a few hours.

[1] https://hub.openshift.com/quickstarts/90-eclipse-package-drone
Re: Difficulty setting up an example p2 repository [message #1734689 is a reply to message #1734688] Fri, 10 June 2016 10:41 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
I have to amend, I overlooked that at first, the neoscada deps channel is probably a bad choice also Wink ... it only contains bundles, no features and not categories. So the software installation dialog of Eclipse won't show anything, since it does require features or categories to be present.

If you have a look at [1], then you will see some categories. However I would not recommend installing those components into your local Eclipse IDE either.

I will try and set up something to install from the Package Drone instance, if this helps you.

[1] https://thedrone.packagedrone.org/p2/openscada-1.4/
Re: Difficulty setting up an example p2 repository [message #1734694 is a reply to message #1734689] Fri, 10 June 2016 11:43 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
So I did create a new channel which contains the Eclipse Releng tools, which can be installed into the Eclipse IDE. [1]

I could also install the software using P2 over HTTPS. You only have to disable the checkbox "Group items by category". Since I am re-using the existing P2 meta data.

[1] https://packagedrone.eclipse.org/p2/org.eclipse.releng.tools/
Re: Difficulty setting up an example p2 repository [message #1734800 is a reply to message #1734694] Sun, 12 June 2016 22:01 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
I tried that out, but I'm getting a certificate error. Do you see the same?

http://pix.toile-libre.org/upload/original/1465768846.png
Re: Difficulty setting up an example p2 repository [message #1734813 is a reply to message #1734800] Mon, 13 June 2016 08:04 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
Hm, this is strange. The certificate is provided by Let's encrypt. That should be working. And it does for me. Which version of Java are you using? I am on Java 8.
Re: Difficulty setting up an example p2 repository [message #1734936 is a reply to message #1734813] Mon, 13 June 2016 22:20 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
I am as well:

java.runtime.version=1.8.0_91-b14
Re: Difficulty setting up an example p2 repository [message #1734989 is a reply to message #1734936] Tue, 14 June 2016 13:42 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
Hm, on which platform are your running? Looks like Ubuntu...?!
Re: Difficulty setting up an example p2 repository [message #1735154 is a reply to message #1734989] Wed, 15 June 2016 22:13 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
Yeah, Ubuntu 16.04 LTS 64bit.
Re: Difficulty setting up an example p2 repository [message #1735295 is a reply to message #1735154] Fri, 17 June 2016 07:17 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
Ok, I will try and reproduce this in a virtual machine.

Is that any way you somehow deactivated part of the Let's encrypt certificate chain?

As mentioned before I would suggest to create a test instance from OpenShift [1]. I comes free and does not enforce TLS/HTTPS by default. So you can use plain HTTP. I don't want to tinker around with the TLS/HTTPS settings of the main demo systems though. But I will try and solve this issue, since others might have the same issue and are not as helpful as your are!

Thanks!

[1] https://hub.openshift.com/quickstarts/90-eclipse-package-drone
Re: Difficulty setting up an example p2 repository [message #1735298 is a reply to message #1735295] Fri, 17 June 2016 07:32 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
Just another question. Are you using Oracle JRE, JDK or the Ubuntu OpenJDK (JDK or JRE)? Thanks!
Re: Difficulty setting up an example p2 repository [message #1735311 is a reply to message #1735298] Fri, 17 June 2016 09:51 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
I just set up a new virtual machine: Ubuntu 16.04 64bit, Installed OpenJDK 8, Downloaded the Eclipse Installer for Mars.2, created a new Eclipse Instance (Committers Edition) added the URL from above [1] and installed the feature. And it worked. No issued with the certificate provider.

So I am not sure where this problem is located. It definitely is not Package Drone itself, since it does not handle TLS. It seems not to be Ubuntu 16.04 or Eclipse P2 either. Since both work on other installations.

I could be an issue with your JDK. So if you are using Oracle JDK, maybe give OpenJDK a try on Ubuntu. Which should be a quick install.

Again, the easiest way for you may be to simply set up a local instance or an instance on OpenShift and try without HTTPS.

[1] https://packagedrone.eclipse.org/p2/org.eclipse.releng.tools/
Re: Difficulty setting up an example p2 repository [message #1735453 is a reply to message #1735295] Sun, 19 June 2016 22:33 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
Jens Reimann wrote on Fri, 17 June 2016 07:17

As mentioned before I would suggest to create a test instance from OpenShift [1]. I comes free and does not enforce TLS/HTTPS by default. So you can use plain HTTP. I don't want to tinker around with the TLS/HTTPS settings of the main demo systems though. But I will try and solve this issue, since others might have the same issue and are not as helpful as your are!

Thanks!

[1] https://hub.openshift.com/quickstarts/90-eclipse-package-drone


I have, yes - it's mentioned in the first post! When that didn't work, I went onto trying the demo systems where I then ran into the certificate issue.

My sample channel is at https://packagedrone-yuklhvljg.rhcloud.com/p2/mvn1, it still has the error that when it comes to downloading the software, none can be found.

Thanks for your continued assistance in this!

[Updated on: Sun, 19 June 2016 22:34]

Report message to a moderator

Re: Difficulty setting up an example p2 repository [message #1735487 is a reply to message #1735453] Mon, 20 June 2016 10:50 Go to previous messageGo to next message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
Ok, sorry. I did overlook that.

I did create a more recent Package Drone instance with my OpenShift account [1] and simply imported the channel above from the demo system. It works for me. So maybe you can give it another try using this instance, without HTTPS.

[1] https://pdrone1-ctron.rhcloud.com/channel/711eb689-bc9b-4816-aecb-4c9f86dcde74/view
Re: Difficulty setting up an example p2 repository [message #1735682 is a reply to message #1735487] Tue, 21 June 2016 23:18 Go to previous messageGo to next message
Vadim Peretokin is currently offline Vadim PeretokinFriend
Messages: 45
Registered: July 2009
Member
Your packagedrone worked. Does my packagedrone work for you? https://packagedrone-yuklhvljg.rhcloud.com/channel/apm_4be4b440-380c-48c2-9282-dd6e80b098f2/view
Re: Difficulty setting up an example p2 repository [message #1735713 is a reply to message #1735682] Wed, 22 June 2016 08:18 Go to previous message
Jens Reimann is currently offline Jens ReimannFriend
Messages: 29
Registered: June 2013
Junior Member
Ok, this is goo d news Smile

It does not, but then it seems to fail finding dependencies when installing your modules. And it does fall back to another version hosted on Eclipse. So I cannot really tell.

I would suggest that you upgrade to Package Drone 0.13.0. A lot of bugs got fixed in the last two major releases. So you may have run into one of those.
Previous Topic:P2 view in demo system broken
Next Topic:P2 proxy
Goto Forum:
  


Current Time: Fri Mar 29 00:37:48 GMT 2024

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

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

Back to the top