Bug 543661 - yum-plugin-downloadonly does not work as advertised
yum-plugin-downloadonly does not work as advertised
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
12
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-02 14:47 EST by Michal Jaegermann
Modified: 2014-01-21 18:12 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-02 14:53:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2009-12-02 14:47:49 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) ....
  Plugin Options:
    --downloadonly      don't update, just download
    --downloaddir=DLDIR
                        specifies an alternate directory to store packages

And yes, /etc/yum/pluginconf.d/downloadonly.conf contais
[main]
enabled=1

Version-Release number of selected component (if applicable):
yum-utils-1.1.24-2.fc13

How reproducible:
always

Expected results:
A package <something> gets downloaded to the current directory.

Additional info:
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 ...
Comment 1 seth vidal 2009-12-02 14:53:43 EST
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.

Note You need to log in before you can comment on or make changes to this bug.