Bug 1239281

Summary: Mark packages in search queries as installed
Product: [Fedora] Fedora Reporter: Roberth Sjonøy <roberth.sjonoy>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, phracek, pnemade, rfenossi, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 13:26:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roberth Sjonøy 2015-07-05 11:13:15 UTC
When I search for something with dnf, and there comes up a long list of packages that match the word search with, it would great that the packages that appears which are allready installed to be marked as installed.
So you can easily figure out what packages are installed what aren't and you don't have to run "dnf info foo" for example to see if it is installed for every single package or trying to install allready installed packages.

Comment 1 Honza Silhan 2015-07-29 13:26:35 UTC
you can add ' -v' to cmdline to show from which repos are the packages from. @System repo means they are installed.

Comment 2 Radek Holy 2015-08-11 13:10:18 UTC
*** Bug 1249504 has been marked as a duplicate of this bug. ***

Comment 3 Honza Silhan 2015-08-11 13:15:57 UTC
*** Bug 1250253 has been marked as a duplicate of this bug. ***

Comment 4 Petr Hracek 2015-08-11 13:22:41 UTC
I agree with Roberth.
command dnf search <package_name> -v shows whether package is installed.
But output with a set of packages doesn't look like well.

I would like to have an output one row based. Feel free to reopen this bug.