Bug 1484014 - [modularity] Installing a module should directly install that modules dependencies
Summary: [modularity] Installing a module should directly install that modules depende...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2017-08-22 13:13 UTC by James Antill
Modified: 2018-03-13 07:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-13 07:56:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1484017 0 medium CLOSED [modularity] Upgrading a module should directly install that modules dependencies 2021-02-22 00:41:40 UTC

Internal Links: 1484017

Description James Antill 2017-08-22 13:13:00 UTC
When installing a module FOO that has dependencies on module BAR, dnf should mark the module BAR as installed.

There was some talk of this happening by having the depsolver mark rpms from module BAR to be installed, and then working back from that to mark BAR as an install (due to the rpms being installed from it). However I'm not sure this is enough for el8 (Eg. compat. repos.)

Comment 1 Nils Philippsen 2017-10-13 15:07:24 UTC
James, should it install or just enable the BAR module? I think it would be sufficient if the package dependencies are available for solving, right?

Martin, does PR#951 cover this? It looks like it to me:

https://github.com/rpm-software-management/dnf/pull/951

Comment 2 Martin Hatina 2017-10-16 07:35:19 UTC
Yes, it is written in description of PR: "enable module runtime dependencies, when enabling module:stream"

RPM dependencies are installed, that is done on RPM level. And if I am correct, module cannot be installed, so module dependencies are just enabled.

If you want dnf to install module profile, dnf need information, which profile to install.

Comment 3 Martin Hatina 2017-10-23 08:11:47 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/951


Note You need to log in before you can comment on or make changes to this bug.