On Wed, 2018-06-20 at 07:59 -0400, Josh Boyer wrote:
> On Wed, Jun 20, 2018 at 7:52 AM Severin Gehwolf <sgehw...@redhat.com> wrote:
> > 
> > Hi,
> > 
> > I'm exploring the Fedora Modularity world and would like to know
> > whether it's possible to have two different module streams install two
> > different sets of packages? If that's possible, would installing one
> > stream remove the packages from the other stream even though the set of
> > packages don't overlap? I'm aware that it's not a goal of modularity to
> > support parallel installability. But what if the packages themselves
> > already allow parallel installability?
> > 
> > Example:
> > 
> > Module name: jdk
> > Streams: 8, 11
> > 
> > 1) "dnf module install jdk:8/default" installs these packages:
> > 
> > java-1.8.0-openjdk
> > java-1.8.0-openjdk-devel
> > java-1.8.0-openjdk-headless
> > 
> > 2) "dnf module install jdk:11/default" installs these packages:
> > 
> > java-11-openjdk
> > java-11-openjdk-headless
> > java-11-openjdk-devel
> > 
> > After 1) *and* 2) would I have both module streams' packages on my
> > system? Would I have only the set from 2) with 1) removed?
> 
> I think you would only have the set from 2.
> 
> Parallel installation can't be done via streams, so it must be done at
> the module level.  So you'd have jdk8 and jdk11 modules, each with a
> default stream.  Given the default is specified, an installation would
> look something like:
> 
> "dnf module install jdk8; dnf module install jdk11"

That's interesting, thanks!

FWIW, I've tried the reverse :) I had jdk10 and jdk11 both specifying
packages java-openjdk{,-devel,-headless} and the install of jdk11
*upgraded* packages from the other (jdk10) module.

Cheers,
Severin
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LZUNXJWVE5IUS2EULNZ7FXTKVBFJYWFT/

Reply via email to