Bug 1480569 - [modularity] dnf info <pkg> and `dnf list all` don't display a module which a pkg belongs to
Summary: [modularity] dnf info <pkg> and `dnf list all` don't display a module which ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2017-08-11 12:09 UTC by Irina Gulina
Modified: 2019-12-17 13:12 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-12-17 13:12:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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>


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