Bug 1249985 - dnf info shows only installed packages
dnf info shows only installed packages
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-08-04 06:05 EDT by Francesco Frassinelli (frafra)
Modified: 2015-08-11 09:26 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-08-11 09:26:14 EDT
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 Francesco Frassinelli (frafra) 2015-08-04 06:05:00 EDT
Description of problem:
dnf info shows @System repo packages, while man dnf talks about "available packages"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. dnf info kernel --releasever=22 --enablerepo=fedora --enablerepo=updates --refresh

Actual results:
Only installed packages are showed (repo @System) 

Expected results:
Packages from fedora, fedora-updates and @System displayed.

Additional info:
From "man dnf":
   Info Command
       dnf [options] info [<package-spec>...]
              Is used to list description and summary information about available packages.

       This  command by default does not force a sync of expired metadata. See also Metadata Synchronization.
Comment 1 Honza Silhan 2015-08-11 09:26:14 EDT
The thing is the output of list or info shows the most recent version only. You'd rather use `dnf repoquery kernel --info`. We don't want to break compatibility in this case with yum.

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