Bug 1480569

Summary: [modularity] dnf info <pkg> and `dnf list all` don't display a module which a pkg belongs to
Product: [Fedora] Fedora Reporter: Irina Gulina <igulina>
Component: dnfAssignee: rpm-software-management
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: dmach, mhatina, orion, packaging-team-maint, rpm-software-management, samuel-rhbugs, vmukhame
Target Milestone: ---Keywords: FutureFeature, Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-17 13:12:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478068    

Description Irina Gulina 2017-08-11 12:09:16 UTC
Description of problem:
1) 'dnf info <pkg>` doesn't display a module which a pkg belongs to
2) `dnf list all`` also doesn't have a column which would display a module name where package is

Version-Release number of selected component (if applicable):
dnf-2.6.0-3.git.40.c0f7fc6.module_a7788b02.noarch

How reproducible:
always

Actual results:

>> dnf info less
Installed Packages
Name         : less
Version      : 487
Release      : 3.module_836062be
Arch         : x86_64
Size         : 309 k
Source       : less-487-3.module_836062be.src.rpm
Repo         : @System
From repo    : fedora-modular
Summary      : A text file browser similar to more, but better
URL          : http://www.greenwoodsoftware.com/less/
License      : GPLv3+ or BSD
Description  : The less utility is a text file browser that resembles more, but has
             : more capabilities.  Less allows you to move backwards in the file as
             : well as forwards.  Since less doesn't have to read the entire input file
             : before it starts, less starts up more quickly than text editors (for
             : example, vi).
             : 
             : You should install less because it is a basic utility for viewing text
             : files, and you'll use it frequently.



>> dnf list all 

Installed Packages
acl.x86_64                     2.2.52-13.module_39876f37          @System       
audit-libs.x86_64              2.7.6-1.module_39876f37            @System       
basesystem.noarch              11-3.module_39876f37               @System       
bash.x86_64                    4.4.12-4.module_39876f37           @System       
bzip2-libs.x86_64              1.0.6-22.module_39876f37           @System       
ca-certificates.noarch         2017.2.14-1.0.module_39876f37      @System

....

Comment 1 Martin Hatina 2017-08-16 11:24:12 UTC
Considered as future feature.

Comment 2 Orion Poplawski 2019-04-28 19:22:24 UTC
I don't see any evidence that this was fixed in dnf-4.2.5.  How are you supposed to determine what module a package comes from?

Comment 3 Jaroslav Mracek 2019-12-17 13:12:05 UTC
I am sorry but we are not going to implement the request due to compatibility reasons (YUM). To get information about modules please use following commands:

dnf module list
dnf module info <module>
dnf module provides <pkg>