Bug 963710

Summary: RFE: allow package specs for distro-sync
Product: [Fedora] Fedora Reporter: Jan Synacek <jsynacek>
Component: dnfAssignee: Honza Silhan <jsilhan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, hdegoede, jskarvad, Simon.Gerhards
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.4.19-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-25 08:13:36 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:
Bug Depends On:    
Bug Blocks: 871892, 908764    

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
hello,

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.
https://admin.fedoraproject.org/updates/dnf-0.4.18-1.fc20

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:
https://admin.fedoraproject.org/updates/FEDORA-2014-3999/dnf-0.4.18-1.fc20
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.
https://admin.fedoraproject.org/updates/dnf-0.4.19-1.fc20

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.