Red Hat Bugzilla – Bug 543661
yum-plugin-downloadonly does not work as advertised
Last modified: 2014-01-21 18:12:57 EST
Description of problem:
With yum-plugin-downloadonly-1.1.24-2.fc13 installed I tried
yum --downloadonly <something>
Instead of doing an expected job this responded with
Loaded plugins: dellsysidplugin2, downloadonly, fastestmirror, presto, refresh-updatesd
Usage: yum [options] COMMAND
...... (skip) ....
--downloadonly don't update, just download
specifies an alternate directory to store packages
And yes, /etc/yum/pluginconf.d/downloadonly.conf contais
Version-Release number of selected component (if applicable):
A package <something> gets downloaded to the current directory.
I am aware of an existence of yumdownloader, which does work, but I wanted to see how 'yum --downloadonly' will behave with presto. Oh, well ...
yum --downloadonly update yum
You have to give it a command - it doesn't just download the pkgs you mention. It does the whole command it would normally do, depsolves and then downloads the pkgs.
then right before it would perform the transaction, it exits.