[jbosstools-issues] [JBoss JIRA] (JBDS-4183) Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue

Nick Boldt (JIRA) issues at jboss.org
Wed Nov 16 12:36:00 EST 2016


    [ https://issues.jboss.org/browse/JBDS-4183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13323962#comment-13323962 ] 

Nick Boldt edited comment on JBDS-4183 at 11/16/16 12:35 PM:
-------------------------------------------------------------

Another example of this is installation of Thym from devstudio snapshot update site, https://devstudio.jboss.com/10.0/snapshots/updates/ :

 !install-thym.png|thumbnail! 

Once installed you get this:

{code}
$➔ ll ~/.eclipse/*platform*/plugins ~/.eclipse/*platform*/features
/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/plugins:
total 1.2M
-rw-rw-r-- 1 nboldt nboldt  34K Nov 16 12:33 org.slf4j.api_1.7.2.v20121108-1250.jar << duplicate
-rw-rw-r-- 1 nboldt nboldt 845K Nov 16 12:33 org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar << duplicate
-rw-rw-r-- 1 nboldt nboldt    0 Nov 16 12:33 org.eclipse.thym.ui_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt  34K Nov 16 12:33 org.eclipse.thym.android.ui_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt  48K Nov 16 12:33 org.eclipse.thym.android.core_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt 212K Nov 16 12:33 org.eclipse.thym.core_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt  12K Nov 16 12:33 org.jboss.tools.aerogear.thym_1.4.2.v20160920-1359.jar
-rw-rw-r-- 1 nboldt nboldt  14K Nov 16 12:33 org.eclipse.thym.ui.importer_2.1.0.201611071511.jar

/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/features:
total 8.0K
drwxrwxr-x 3 nboldt nboldt 4.0K Nov 16 12:33 org.eclipse.thym.feature_2.1.0.201611071511
drwxrwxr-x 2 nboldt nboldt 4.0K Nov 16 12:33 org.jboss.tools.aerogear.thym.feature_1.4.2.v20160920-1359
{code}



was (Author: nickboldt):
Another example of this is installation of Thym from devstudio snapshot update site:

 !install-thym.png|thumbnail! 

Once installed you get this:

{code}
$➔ ll ~/.eclipse/*platform*/plugins ~/.eclipse/*platform*/features
/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/plugins:
total 1.2M
-rw-rw-r-- 1 nboldt nboldt  34K Nov 16 12:29 org.slf4j.api_1.7.2.v20121108-1250.jar << duplicate
-rw-rw-r-- 1 nboldt nboldt 845K Nov 16 12:33 org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar << duplicate
-rw-rw-r-- 1 nboldt nboldt    0 Nov 16 12:33 org.eclipse.thym.ui_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt  34K Nov 16 12:33 org.eclipse.thym.android.ui_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt  48K Nov 16 12:33 org.eclipse.thym.android.core_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt 212K Nov 16 12:33 org.eclipse.thym.core_2.1.0.201611071511.jar
-rw-rw-r-- 1 nboldt nboldt  12K Nov 16 12:33 org.jboss.tools.aerogear.thym_1.4.2.v20160920-1359.jar
-rw-rw-r-- 1 nboldt nboldt  14K Nov 16 12:33 org.eclipse.thym.ui.importer_2.1.0.201611071511.jar

/home/nboldt/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/features:
total 8.0K
drwxrwxr-x 3 nboldt nboldt 4.0K Nov 16 12:33 org.eclipse.thym.feature_2.1.0.201611071511
drwxrwxr-x 2 nboldt nboldt 4.0K Nov 16 12:33 org.jboss.tools.aerogear.thym.feature_1.4.2.v20160920-1359
{code}


> Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBDS-4183
>                 URL: https://issues.jboss.org/browse/JBDS-4183
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: rpm
>    Affects Versions: 10.2.0.AM3
>            Reporter: Nick Boldt
>            Priority: Blocker
>         Attachments: install-thym.png
>
>
> 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:
> {code}
> $➔ 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
> {code}
> But this plugin is already installed here:
> {code}/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{code}
> So even though the connector install doesn't install any new m2e-apt stuff (it's already installed too):
> {code}
> /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
> {code}
> ... 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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list