Bug 1577383 - dnf module list --disabled is listing multiple module versions
Summary: dnf module list --disabled is listing multiple module versions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2018-05-11 21:08 UTC by Merlin Mathesius
Modified: 2018-11-22 18:16 UTC (History)
5 users (show)

Fixed In Version: dnf-4.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-22 18:16:07 UTC
Type: Bug


Attachments (Terms of Use)

Description Merlin Mathesius 2018-05-11 21:08:37 UTC
Description of problem:
'dnf module list --disabled' is listing multiple module versions of the same module:stream. Is this expected behavior? Or should just the latest version be listed by default, similar to the output of the 'dnf module list' command?

Version-Release number of selected component (if applicable):
dnf-2.7.5-12.fc28.noarch

How reproducible:
always

Steps to Reproduce:
1. fresh container based on docker.io/fedora:28 (or other current F28 VM/container) with latest F28 updates and fedora-repos-modular enabled
2. dnf module list --disabled

Actual results:
Multiple versions of the django:1.6, nodejs:6, nodejs:8, and nodejs:9 modules are listed.

[root@7f17ae262f22 /]# dnf module list --disabled
Last metadata expiration check: 0:54:22 ago on Fri May 11 20:01:43 2018.
Fedora Modular 28 - x86_64
Name                Stream     Version           Profiles                      
django              1.6        20180307130104    default, python2_development  
nodejs              6          20180308155546    default, development, ...     
nodejs              8          20180308143646    default, development, ...     
nodejs              9          20180308142225    default, development, ...     
reviewboard         2.5 [d]    20180206144254    default, server               

Fedora Modular 28 - x86_64 - Updates
Name                Stream     Version           Profiles                      
ant                 1.10       20180411122322    default                       
container-tools     2017.0     20180313063358    default                       
cri-o               2017.0     20180313134242    default                       
django              1.6        20180328170906    default, python2_development  
docker              2017.0     20180314032736    default                       
flatpak-runtime     f28        20180307202408    buildroot, runtime, ...       
gimp                2.10       20180502140909    default, devel                
golang              1.10       20180327174614    default                       
golang-ecosystem    2017.0     20180312141905    default                       
mariadb             10.1       20180419160707    client, default, ...          
maven               3.5        20180411112402    default                       
nodejs              10         20180501175322    default, development, ...     
nodejs              6          20180328185917    default, development, ...     
nodejs              8          20180328183715    default, development, ...     
nodejs              9          20180405175619    default, development, ...     
postgresql          9.6        20180429200004    client, default, ...          
reviewboard         3.0        20180411170047    default, server               

Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
[root@7f17ae262f22 /]#


Expected results:
Only a single version of each module:stream is listed, like the output of 'dnf module list'

[root@7f17ae262f22 /]# dnf module list
Last metadata expiration check: 1:00:56 ago on Fri May 11 20:01:43 2018.
Fedora Modular 28 - x86_64
Name                Stream     Version           Profiles                      
reviewboard         2.5 [d]    20180206144254    default, server               

Fedora Modular 28 - x86_64 - Updates
Name                Stream     Version           Profiles                      
ant                 1.10       20180411122322    default                       
container-tools     2017.0     20180313063358    default                       
cri-o               2017.0     20180313134242    default                       
django              1.6        20180328170906    default, python2_development  
docker              2017.0     20180314032736    default                       
flatpak-runtime     f28        20180307202408    buildroot, runtime, ...       
gimp                2.10       20180502140909    default, devel                
golang              1.10       20180327174614    default                       
golang-ecosystem    2017.0     20180312141905    default                       
mariadb             10.1       20180419160707    client, default, ...          
maven               3.5        20180411112402    default                       
nodejs              10         20180501175322    default, development, ...     
nodejs              6          20180328185917    default, development, ...     
nodejs              8          20180328183715    default, development, ...     
nodejs              9          20180405175619    default, development, ...     
postgresql          9.6        20180429200004    client, default, ...          
reviewboard         3.0        20180411170047    default, server               

Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
[root@7f17ae262f22 /]#


Additional info:


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