Bug 1249985 - dnf info shows only installed packages
Summary: dnf info shows only installed packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
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: 2015-08-04 10:05 UTC by Francesco Frassinelli (frafra)
Modified: 2015-08-11 13:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-11 13:26:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Francesco Frassinelli (frafra) 2015-08-04 10:05:00 UTC
Description of problem:
dnf info shows @System repo packages, while man dnf talks about "available packages"

Version-Release number of selected component (if applicable):
dnf-1.0.1-2.fc22.noarch

How reproducible:
Always

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 13:26:14 UTC
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.