Bug 1569695

Summary: The sum of listed installed and available packages' number. does not match all packages' number.
Product: [Fedora] Fedora Reporter: ricky.tigg
Component: dnfAssignee: rpm-software-management
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 28CC: dmach, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-24 07:10:35 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:

Description ricky.tigg 2018-04-19 20:05:01 UTC
Description of problem: the sum of listed installed and available packages numbers does not match the value as output for all packages.

Version-Release number of component: dnf.noarch 2.7.5-12.fc28 @updates-testing

Steps to Reproduce in terminal:
1. $ dnf list all | wc -l
2. $ dnf list installed | wc -l
3. $ dnf list available | wc -l

Actual results: Assume outputs resulting from commands illustrated in steps 1., 2., 3,  are respectively represented by x, y, z. Currently x > y + z;  non-equality would suggest that x might take in account duplicates. Since it's not the case I suspect an issue.

Expected results: x = y + z; Requirement in order for each one to be reliable.

Additional info:
$ dnf check --duplicates (No output). Confirmation by running:
# dnf remove --duplicates
Error: No duplicated packages found for removal.

Comment 1 Martin Hatina 2018-04-24 07:10:35 UTC
Some modules are disabled and possibly without default stream, which results into packages not being available. That's why 'all != installed + available'.

Comment 2 ricky.tigg 2018-04-24 09:51:02 UTC
These are aspects that could not have been guessed. Now I know.