On 08/25/15 13:08, Rami Rosen wrote:
Hi,
you'll need to have the dnf-plugins-core package installed to have access to the "download" command for dnf.
Are you sure ?
I tried this sequence on Fedora 22:
$ dnf download --source iproute enabling fedora-source repository enabling updates-source repository Last metadata expiration check performed 0:01:35 ago on Tue Aug 25 08:04:37 2015. iproute-3.16.0-3.fc22.src.rpm 689 kB/s | 615 kB 00:00
$ rpm -q dnf-plugins-core package dnf-plugins-core is not installed
Well, according to the "info" you do....
Name : dnf-plugins-core Arch : noarch Epoch : 0 Version : 0.1.10 Release : 1.fc22 Size : 7.7 k Repo : @System
From repo : updates
Summary : Core Plugins for DNF URL : https://github.com/rpm-software-management/dnf-plugins-core License : GPLv2+ Description : Core Plugins for DNF. This package enhance DNF with builddep, : config-manager, copr, debuginfo-install, download, needs-restarting, : repoquery and reposync commands. Additionally provides : generate_completion_cache, noroot and protected_packages passive : plugins.
But, if it works without it, that is fine too. :-)