Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4183

Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 10.2.0.GA
    • 10.2.0.AM3
    • rpm
    • None
    • NEW

    Description

      Steps to repro:

      1. install from latest rpm, eg., 10.2.0.20161116.1342.el7
      2. open Central > Software/Update, scroll down until you find the Maven Integration for Eclipse JDT APT (m2e-apt) connector
      3. Install it. When prompted to restart, shut down Eclipse and check in your ~/.eclipse folder:

      $➔ ll ~/.eclipse/org.eclipse.platform_*_linux_gtk_x86_64/plugins/
      total 36K
      -rw-rw-r-- 1 nboldt nboldt 34K Nov 16 10:54 org.slf4j.api_1.7.2.v20121108-1250.jar
      

      But this plugin is already installed here:

      /opt/rh/rh-java-common/root/usr/share/java/slf4j/slf4j-api.jar
      /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/egit-mylyn/eclipse/plugins/slf4j.api_1.7.4.jar

      So even though the connector install doesn't install any new m2e-apt stuff (it's already installed too):

      /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.ui_1.3.0.201610261805.jar
      /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.core_1.3.0.201610261805.jar
      /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/features/org.jboss.tools.maven.apt.feature_1.3.0.201610261805
      

      ... the result of this install is to cause use constrain violations and break the devstudio install.

      A bigger problem occurs in JBDS-4150 when installing Thym or Aerogear features, since a second version of org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar is installed even though there's already one in the /opt/rh/ install footprint.

      Attachments

        Issue Links

          Activity

            People

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: