Bug 963710 - RFE: allow package specs for distro-sync
Summary: RFE: allow package specs for distro-sync
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf   
(Show other bugs)
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Honza Silhan
QA Contact: Fedora Extras Quality Assurance
: 1030985 1077099 (view as bug list)
Depends On:
Blocks: 871892 908764
TreeView+ depends on / blocked
Reported: 2013-05-16 12:42 UTC by Jan Synacek
Modified: 2014-03-25 08:13 UTC (History)
4 users (show)

Fixed In Version: dnf-0.4.19-1.fc20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-03-25 08:13:36 UTC
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Jan Synacek 2013-05-16 12:42:19 UTC
Description of problem:

Currently, dnf doesn't allow package specs when using the distro-sync command.

# dnf distro-sync <package>
distro-sync accepts no package specs.

It would be nice if it did, as that functionality is very useful.

Comment 1 Ales Kozumplik 2013-05-17 05:41:54 UTC

yes indeed this is missing and a part of the backlog. it is unfortunately not as straightforward as it might seem given we do a "global" distro-sync already.

Comment 2 Ales Kozumplik 2013-11-18 07:33:55 UTC
*** Bug 1030985 has been marked as a duplicate of this bug. ***

Comment 3 Ales Kozumplik 2013-11-18 16:35:19 UTC
(to properly emulate what yum is doing, if we want to do that, we might need to use SOLVER_TARGETED when using the *_to() methods in hawkey with SOLVER_DISTUPGRADE)

Comment 4 Ales Kozumplik 2014-02-26 16:38:03 UTC
Moving to Jan. Jan, mls tells me this is supported in libsolv just like other jobs (update, install). Please take a look, it will require extending hawkey which should be done in a way consistent to the other commands.

Comment 5 Honza Silhan 2014-03-10 15:55:00 UTC
The feature is available in the upstream.

Comment 6 Ales Kozumplik 2014-03-17 09:06:11 UTC
*** Bug 1077099 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2014-03-17 09:45:29 UTC
dnf-0.4.18-1.fc20 has been submitted as an update for Fedora 20.

Comment 8 Fedora Update System 2014-03-18 08:10:37 UTC
Package dnf-0.4.18-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.18-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2014-03-24 09:05:58 UTC
dnf-0.4.19-1.fc20 has been submitted as an update for Fedora 20.

Comment 10 Fedora Update System 2014-03-25 08:13:36 UTC
dnf-0.4.19-1.fc20 has been pushed to the Fedora 20 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.