Bug 1328788 - DNF flag --disableexcludes is not honored
Summary: DNF flag --disableexcludes is not honored
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 09:52 UTC by Tomas 'Sheldon' Radej
Modified: 2016-04-25 12:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-25 12:15:55 UTC
Type: Bug


Attachments (Terms of Use)
dnf.conf (88 bytes, text/plain)
2016-04-20 09:52 UTC, Tomas 'Sheldon' Radej
no flags Details

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.


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