Unable to promote package

  1. Secure Delivery Center > Getting Help

This topic contains 2 replies, has 2 voices, and was last updated by  ignaciom 1 year, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #620387 Reply

    bushidobrown
    Participant

    While running our Jenkins build to update out development packages, we get the following error:
    Software to be resolved has different definitions for the same ID + version pair; this breaks the deterministic nature of provisioning and resolution can not proceed. Problematic IUs: [org.eclipse.equinox.p2.core.feature.feature.group_1.5.0.v20180515-1348]
    Unable to promote 1 packages:
    I believe this may be because it is trying to promote the plugin org.eclipse.equinox.p2.core which is version 2.5.0 and the feature org.eclipse.equinox.p2.core.feature v 1.5.0. Does the software not recognize the .feature at the end of the feature or does it just ignore? Could the problem be something entirely different?

    #620388 Reply

    bushidobrown
    Participant

    I’ll add that the org.eclipse.equinox.p2.core.feature contains the plugin org.eclipse.equinox.p2.core. Simply removing that feature is not enough since there are other features that import the equinox.p2.core feature and removing all of them causes major dependency issues so we would like to not have to do that.

    #620389 Reply

    ignaciom
    Moderator

    Hey,

    The root of this problem is because there are two update sites on the resolution of your package that are providing the Installable unit org.eclipse.equinox.p2.core.feature.feature.group but both with different version. SDC is warning about a resolution with 2 different versions of this feature. There is a way to configure the page to ignore this warning and continue with promotion.

    1. Close your Admin Console.
    2. Find the package.xml of the package with the resolution problem
    3. ${ADMIN-CONSOLE-INSTALL-DIR}/local-storage/metavc/packages/${GUID}/package.xml
    4. Add the following property

    <properties>
    <property key="skip.misconfigured.ius" value="true"/>
    </properties>

    5. Start your Admin Console
    6. Commit and Promote your package

    Let us know how this works for you.

    Best Regards
    Ignacio
    SDC Support

    #620516 Reply

    bushidobrown
    Participant

    Yes adding that property fixed the issue. Thank you

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Unable to promote package

You must be logged in to post in the forum log in