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 ?
Just to continue the investigation of what you're suggesting/seeing ....
[egreshko@f22k ~]$ rpm -q dnf-plugins-core python-dnf-plugins-core
dnf-plugins-core-0.1.10-1.fc22.noarch
python-dnf-plugins-core-0.1.10-1.fc22.noarch
[egreshko@f22k ~]$ sudo dnf erase python-dnf-plugins-core dnf-plugins-core
[sudo] password for egreshko:
Dependencies resolved.
==================================================================================
Package Arch Version Repository Size
==================================================================================
Removing:
dnf-plugins-core noarch 0.1.10-1.fc22 @System 7.7 k
python-dnf-plugins-core noarch 0.1.10-1.fc22 @System 210 k
Transaction Summary
==================================================================================
Remove 2 Packages
Installed size: 218 k
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Erasing : dnf-plugins-core-0.1.10-1.fc22.noarch 1/2
Erasing : python-dnf-plugins-core-0.1.10-1.fc22.noarch 2/2
Verifying : dnf-plugins-core-0.1.10-1.fc22.noarch 1/2
Verifying : python-dnf-plugins-core-0.1.10-1.fc22.noarch 2/2
Removed:
dnf-plugins-core.noarch 0.1.10-1.fc22
python-dnf-plugins-core.noarch 0.1.10-1.fc22
Complete!
But then.....
[egreshko@f22k ~]$ dnf download --source firefox
No such command: download. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install
'dnf-command(download)'"
So I did....
[egreshko@f22k ~]$ sudo dnf install 'dnf-command(download)'
Last metadata expiration check performed 1:05:31 ago on Tue Aug 25 13:40:10 2015.
Dependencies resolved.
==================================================================================
Package Arch Version Repository Size
==================================================================================
Installing:
dnf-plugins-core noarch 0.1.10-1.fc22 updates 34 k
python-dnf-plugins-core noarch 0.1.10-1.fc22 updates 83 k
Transaction Summary
==================================================================================
Install 2 Packages
Total download size: 117 k
Installed size: 218 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): dnf-plugins-core-0.1.10-1.fc22.noarch.rpm 47 kB/s | 34 kB 00:00
(2/2): python-dnf-plugins-core-0.1.10-1.fc22.noar 88 kB/s | 83 kB 00:00
----------------------------------------------------------------------------------
Total 43 kB/s | 117 kB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : python-dnf-plugins-core-0.1.10-1.fc22.noarch 1/2
Installing : dnf-plugins-core-0.1.10-1.fc22.noarch 2/2
Verifying : dnf-plugins-core-0.1.10-1.fc22.noarch 1/2
Verifying : python-dnf-plugins-core-0.1.10-1.fc22.noarch 2/2
Installed:
dnf-plugins-core.noarch 0.1.10-1.fc22
python-dnf-plugins-core.noarch 0.1.10-1.fc22
And then....
[egreshko@f22k ~]$ dnf download --source firefox
enabling fedora-source repository
enabling rpmfusion-free-updates-source repository
enabling rpmfusion-free-source repository
enabling rpmfusion-nonfree-updates-source repository
enabling updates-source repository
enabling rpmfusion-nonfree-source repository
.
.
.
It worked....
Wondering if your rpmdb may be corrupt.
--
It seems most people that say they are "done talking about it" never really are
until given the last word.