DNF.MODULARITY - Online Linux Manual PageSection : 7
Updated : Mar 02, 2021
Source : 4.6.1
Note : DNF

NAMEdnf.modularity − Modularity in DNF Modularity is new way of building, organizing and delivering packages. For more details see: ­https://docs.pagure.org/modularity/

DEFINITIONS modulemd  Every repository can contain modules metadata with modulemd documents. These documents hold metadata about modules such as Name, Stream or list of packages. (non−modular) package  Package that doesn't belong to a module. modular package  Package that belongs to a module. It is listed in modulemd under the artifacts section. Modular packages can be also identified by having %{modularitylabel} RPM header set. (module) stream  Stream is a collection of packages, a virtual repository. It is identified with Name and Stream from modulemd separated with colon, for example "postgresql:9.6". Module streams can be active or inactive​. active means the RPM packages from this stream are included in the set of available packages. Packages from inactive streams are filtered out. Streams are active either if marked as default or if they are explicitly enabled by a user action. Streams that satisfy dependencies of default or enabled streams are also considered active​. Only one stream of a particular module can be active at a given point in time.

PACKAGE FILTERINGWithout modules, packages with the highest version are used by default. Module streams can distribute packages with lower versions than available in the repositories available to the operating system. To make such packages available for installs and upgrades, the non−modular packages are filtered out when their name or provide matches against a modular package name from any enabled, default, or dependent stream. Modular source packages will not cause non−modular binary packages to be filtered out.

HOTFIX REPOSITORIESIn special cases, a user wants to cherry−pick individual packages provided outside module streams and make them available on along with packages from the active streams. Under normal circumstances, such packages are filtered out. To make the system use packages from a repository regardless of their modularity, specify module_hotfixes=true in the .repo file. This protects the repository from package filtering. Please note the hotfix packages do not override module packages, they only become part of available package set. It's the package Epoch, Version and Release what determines if the package is the latest.

FAIL-SAFE MECHANISMS

Repositories with module metadata are unavailableWhen a repository with module metadata is unavailable, package filtering must keep working. Non−modular RPMs must remain unavailable and must never get on the system. This happens when: • user disables a repository via −−disablerepo or uses −−repoid • user removes a .repo file from disk • repository is not available and has skip_if_unavailable=true DNF keeps copies of the latest modulemd for every active stream and uses them if there's no modulemd available for the stream. This keeps package filtering working correctly. The copies are made any time a transaction is resolved and started. That includes RPM transactions as well as any dnf module <enable|disable|reset> operations. When the fail−safe data is used, dnf show such modules as part of @modulefailsafe repository.

Orphaned modular packagesAll packages that are built as a part of a module have %{modularitylabel} RPM header set. If such package becomes part of RPM transaction and cannot be associated with any available modulemd, DNF prevents from getting it on the system (package is available, but cannot be installed, upgraded, etc.)

AUTHORSee AUTHORS in DNF source distribution.

COPYRIGHT2012-2021, Red Hat, Licensed under GPLv2+
0
Johanes Gumabo
Data Size   :   11,421 byte
man-dnf.modularity.7Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 236,973
Visitor ID   :     :  
Visitor IP   :   18.216.253.84   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.