Bug 1328788

Summary: DNF flag --disableexcludes is not honored
Product: [Fedora] Fedora Reporter: Tomas 'Sheldon' Radej <tradej>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 12:15:55 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:
Attachments:
Description Flags
dnf.conf none

Description Tomas 'Sheldon' Radej 2016-04-20 09:52:19 UTC
Created attachment 1148973 [details]
dnf.conf

Description of problem:
When using "excludes=kernel*" in the dnf.conf file, DNF correctly does not touch kernel* packages for any operation. However, when running `dnf list available kernel\* --disableexcludes \*`, nothing is yielded.

Version-Release number of selected component (if applicable):
dnf-0:1.1.8-1.fc23.noarch

How reproducible:
Always

Steps to Reproduce:
1. put "excludes=kernel*" into /etc/dnf/dnf.conf
2. run `dnf list available kernel\* --disableexcludes \*`
3.

Actual results:
Error: No matching Packages to list

Expected results:
Lists available packages starting with "kernel*"

Comment 1 Michal Luscon 2016-04-25 12:15:55 UTC
Hi Tomas,

you probably wanted to use --disableexcludes=all or --disableexcludes=main (http://dnf.readthedocs.org/en/latest/command_ref.html). Feel free to reopen if I am wrong.