Bug 1302318 - Exclude in dnf.conf affects output "dnf list installed"
Exclude in dnf.conf affects output "dnf list installed"
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-01-27 08:38 EST by joopbraak
Modified: 2016-02-01 07:58 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-02-01 07:57:44 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description joopbraak 2016-01-27 08:38:31 EST
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):

How reproducible:

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 07:57:44 EST
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 07:58:31 EST
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.