10000 Odd message when updating · Issue #822 · eclipse-equinox/p2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Odd message when updating #822
Open
Open
@andrew-tram

Description

@andrew-tram

I created a scaled down example. But I have a simple feature that has something like this,

<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="dummy.cdt.feature"
      label="Feature"
      version="1.0.0.qualifier">

   <requires>
      <import feature="org.eclipse.cdt" version="11.0.0" match="greaterOrEqual"/>
   </requires>

   <plugin
         id="dummy.plugin"
         version="0.0.0"/>

</feature>

Installed that on Eclipse 4.32 Embedded C/C++ Developer IDE and it's fine. So from there, I update this bit to 12.0.0 because I want a newer CDT:

   <requires>
      <import feature="org.eclipse.cdt" version="12.0.0" match="greaterOrEqual"/>
   </requires>

Image

Image

Your original request has been modified.
  "Feature" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Feature 2.0.0.202505071412 (dummy.cdt.feature.feature.group 2.0.0.202505071412)
  Software currently installed: C/C++ Development Tools 11.6.0.202406041555 (org.eclipse.cdt.feature.group 11.6.0.202406041555)
  Only one of the following can be installed at once: 
    C/C++ Development Tools 11.6.0.202406041555 (org.eclipse.cdt.feature.jar 11.6.0.202406041555)
    C/C++ Development Tools 12.0.0.202502260302 (org.eclipse.cdt.feature.jar 12.0.0.202502260302)
  Cannot satisfy dependency:
    From: Feature 2.0.0.202505071412 (dummy.cdt.feature.feature.group 2.0.0.202505071412)
    To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.feature.group 12.0.0, filter=(!(org.eclipse.equinox.p2.exclude.import=true))
  Cannot satisfy dependency:
    From: C/C++ Development Tools 11.6.0.202406041555 (org.eclipse.cdt.feature.group 11.6.0.202406041555)
    To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.feature.jar [11.6.0.202406041555,11.6.0.202406041555], filter=(org.eclipse.update.install.features=true)
  Cannot satisfy dependency:
    From: C/C++ Development Tools 12.0.0.202502260302 (org.eclipse.cdt.feature.group 12.0.0.202502260302)
    To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.feature.jar [12.0.0.202502260302,12.0.0.202502260302], filter=(org.eclipse.update.install.features=true)

My expectation is that the features would update normally when the base product file includes installMode="root" for the feature like in here:

Image

This is a super small example, so it doesnt look so bad. My actual application has similar pieces as mentioned above with the feature.xml and .product file, the error looks like this:

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0