Bug 543661 - yum-plugin-downloadonly does not work as advertised
Summary: yum-plugin-downloadonly does not work as advertised
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-02 19:47 UTC by Michal Jaegermann
Modified: 2014-01-21 23:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-02 19:53:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2009-12-02 19:47:49 UTC
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 19:53:43 UTC
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.