[jbosstools-issues] [JBoss JIRA] (JBDS-4257) rh-eclipse46-devstudio provides packages that are dependencies of rh-eclipse46
Václav Kadlčík (JIRA)
issues at jboss.org
Tue Jan 31 03:19:00 EST 2017
[ https://issues.jboss.org/browse/JBDS-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13355315#comment-13355315 ]
Václav Kadlčík edited comment on JBDS-4257 at 1/31/17 3:18 AM:
---------------------------------------------------------------
[~nickboldt], I'm afraid this is some kind of misunderstanding. This ticket is about rh-eclipse46-devstudio.rpm having too many Provides. That leads to accidents where rh-eclipse46-devstudio.rpm is dragged as a dependency for some other RPMs.
In other words, in this ticket we do not discuss what Devstudio needs but what it unnecessarily provides ("advertises") in its RPM declaration.
{{rpm -q --provides -p ./rh-eclipse46-devstudio-10.3-0.20170129.1911.el7.x86_64.rpm}} lists 500+ items while only few make sense in our situation. There should be
* rh-eclipse46-devstudio = 10.3-0.20170129.1911.el7
* rh-eclipse46-devstudio(x86-64) = 10.3-0.20170129.1911.el7
This is all. We can safely add several others (rh-eclipse46-osgi(com.jboss.devstudio.*)). The rest don't have any use now but can create troubles (like the one [~lvalach] experienced).
was (Author: vkadlcik):
[~nickboldt], I'm afraid this is some kind of misunderstanding. This ticket is about rh-eclipse46-devstudio.rpm having too many Provides. That leads to accidents where rh-eclipse46-devstudio.rpm is dragged as a dependency for some other RPMs.
In other words, in this ticket we do not discuss what Devstudio needs but what it unnecessarily provides ("advertises") in its RPM declaration.
{{rpm -q --provides -p ./rh-eclipse46-devstudio-10.3-0.20170129.1911.el7.x86_64.rpm}} lists 500+ items while only few make sense in our situation. There should be
* rh-eclipse46-devstudio = 10.3-0.20170129.1911.el7
* rh-eclipse46-devstudio(x86-64) = 10.3-0.20170129.1911.el7
This is all. We can safely add several others (rh-eclipse46-osgi(com.jboss.devstudio.*)). The rest don't have any use now but can create troubles (like the one [~lvalach] experienced).
> rh-eclipse46-devstudio provides packages that are dependencies of rh-eclipse46
> ------------------------------------------------------------------------------
>
> Key: JBDS-4257
> URL: https://issues.jboss.org/browse/JBDS-4257
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: build, rpm
> Affects Versions: 10.3.0.AM2
> Environment: RHEL7
> Reporter: Lukáš Valach
> Assignee: Nick Boldt
> Priority: Minor
> Fix For: 10.3.0.GA
>
> Attachments: rh-eclipse46-devstudio_provides.txt, rh-eclipse46_provides.txt, yum_install_rh-eclipse46.png
>
>
> I noticed rh-eclipse46-devstudio is installed as dependenci when installing rh-eclipse46.
> !yum_install_rh-eclipse46.png|thumbnail!
> [~vkadlcik] said that it is because rh-eclipse46-devstudio offers some package which rh-eclipse46 needs, so yum decides to use devstudio as library.
> He said that the best practice for end-user application like rh-eclipse46-devstudio is to have less amount of stuff in "rpm -q --provides". Rh-eclipse46 provides 4 packages, devstudio provides 539 packages.
> [^rh-eclipse46_provides.txt]
> [^rh-eclipse46-devstudio_provides.txt]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list