Bug 1302318 - Exclude in dnf.conf affects output "dnf list installed"
Summary: Exclude in dnf.conf affects output "dnf list installed"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Linux
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-01-27 13:38 UTC by joopbraak
Modified: 2016-02-01 12:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-01 12:57:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description joopbraak 2016-01-27 13:38:31 UTC
Description of problem:
When excluding a package, "dnf list installed" doesn't show the package any more, although it's installed.

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

How reproducible:
100%

Steps to Reproduce:
1. add exclude=kernel* in dnf.conf in the [main] section
2. dnf list installed kernel\*

Actual results:
Error: No matching Packages to list

Expected results:
Shows installed packages

Comment 1 Honza Silhan 2016-02-01 12:57:44 UTC
From "man dnf.conf":

Exclude packages of this repository, specified by a name or a glob and separated by a comma, from all operations. Can be disabled using ``--disableexcludes`` command line switch.

Comment 2 Honza Silhan 2016-02-01 12:58:31 UTC
tip: you can then exclude package just in the repo when you want it to be excluded.


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