Bug 1248797 - dnf repoquery --orphans option
Summary: dnf repoquery --orphans option
Keywords:
Status: CLOSED DUPLICATE of bug 1199601
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
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-07-30 20:55 UTC by Andy Wang
Modified: 2015-08-28 09:20 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-28 09:20:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andy Wang 2015-07-30 20:55:13 UTC
Description of problem:
dnf list extras outputs orphans in the format:
kernel.x86_64                             4.0.8-300.fc22                 @System
kernel-core.x86_64                        4.0.8-300.fc22                 @System
kernel-debug-devel.x86_64                 4.0.8-300.fc22                 @System
kernel-devel.x86_64                       4.0.8-300.fc22                 @System
kernel-modules.x86_64                     4.0.8-300.fc22                 @System

package-cleanup --orphans lists them in package name format:
kernel-3.10.0-123.13.2.el7.x86_64
kernel-3.10.0-123.20.1.el7.x86_64

package-cleanup --orphans is easily scriptable to a remove call. 

dnf list extras is not.  This is a gap for those of us used to piping the output of package-cleanup --orphans (with some manipulation for excluding manually installed orphans.

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

Comment 1 Honza Silhan 2015-08-28 09:20:02 UTC
should be fixed by: https://github.com/rpm-software-management/dnf-plugins-core/commit/c8e61d00689559e63f4902da3d6c0cb05d688e0b

*** This bug has been marked as a duplicate of bug 1199601 ***


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