From 8cd37224a131d024dbdf3ebd68eb65f4e177cca4 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Nov 09 2017 17:36:20 +0000 Subject: add section about identifying components --- diff --git a/source/development/building-modules/installation-dependency-issues.rst b/source/development/building-modules/installation-dependency-issues.rst index bcb41b1..7e47591 100644 --- a/source/development/building-modules/installation-dependency-issues.rst +++ b/source/development/building-modules/installation-dependency-issues.rst @@ -97,6 +97,26 @@ generated modulemd file can be used to augment the module that should carry it (arguably more work but still less than resolving dependencies manually, one at a time). +Identifying components +~~~~~~~~~~~~~~~~~~~~~~ + +Consider this error while attempting to install a module ``389-ds``:: + + $ dnf module install 389-ds + Fedora - Bikeshed - Developmental packages for the next Fedora release 8.5 MB/s | 3.5 MB 00:00 + Last metadata expiration check: 0:00:00 ago on Fri 13 Oct 2017 02:44:48 PM UTC. + Error: + Problem 1: conflicting requests + - nothing provides libtcmalloc.so.4()(64bit) needed by 389-ds-base-libs-1.3.7.4-1.module_506864e9.x86_64 + Problem 2: conflicting requests + - nothing provides libtcmalloc.so.4()(64bit) needed by 389-ds-base-1.3.7.4-1.module_506864e9.x86_64 + +In this case one needs to find out which package provides +``libtcmalloc.so.4()(64bit)``, e.g. by running ``dnf repoquery --whatprovides +`` on an (as of now at least) not yet modular Fedora system and if +necessary ``dnf info `` to find out the source package which can then +be added to a module. + Removing dependencies ~~~~~~~~~~~~~~~~~~~~~