Bug 908764 - RFE: Support repo-pkgs command set
Summary: RFE: Support repo-pkgs command set
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Radek Holy
QA Contact: Fedora Extras Quality Assurance
Depends On: 963710
TreeView+ depends on / blocked
Reported: 2013-02-07 13:01 UTC by Jan Zeleny
Modified: 2015-10-06 02:14 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2014-09-23 04:40:17 UTC

Attachments (Terms of Use)

Description Jan Zeleny 2013-02-07 13:01:28 UTC
Recently a new command set called repo-pkgs (or repository-packages) has been added to yum. It allows user to install/uninstall all packages from given repository. Uninstallation can also detect packages which are dependencies of other packages that are not to be uninstalled. Such dependencies won't be deleted, only information about their source repo will be updated.

It would be nice for dnf to have this functionality.

Note that this is not urgent at the moment, the bug is just to track this.

Comment 1 Ales Kozumplik 2013-02-07 13:31:19 UTC
Yes, we discussed this, thanks for opening the bug for it.

Comment 2 Ales Kozumplik 2013-12-17 16:17:29 UTC
Radek, this is a nice feature bug for you to look at. Probably not a plugin material. Please make sure the command syntax is sane even at the cost of (slightly) deflecting from yum's.

Comment 3 Radek Holy 2014-02-10 08:33:33 UTC
I would tend to make the command consistent with the group command. I mean that e.g. the list sub-command would list specified repos (instead of their packages). I would also prefer to name the command just "repo" (without the pkgs suffix).

Comment 4 Radek Holy 2014-02-10 09:53:19 UTC
Well, I understand that compatibility is more important than consistency. Forget my previous comment.

Comment 5 Radek Holy 2014-08-27 15:28:25 UTC
Added by 9abbc73171d03f8b03afeba881424616d5123775 on master.

Comment 6 Fedora Update System 2014-09-04 15:49:33 UTC
dnf-0.6.1-1.fc21 has been submitted as an update for Fedora 21.

Comment 7 Fedora Update System 2014-09-06 01:00:03 UTC
Package dnf-0.6.1-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.6.1-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-09-23 04:40:17 UTC
dnf-0.6.1-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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