Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 228672 - yum-downloadonly - Not allow to update package with yum
Summary: yum-downloadonly - Not allow to update package with yum
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-14 11:45 UTC by Amanpreet Singh Brar Alamwalia
Modified: 2014-01-21 22:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-02-21 22:07:40 UTC

Attachments (Terms of Use)

Description Amanpreet Singh Brar Alamwalia 2007-02-14 11:45:26 UTC
Description of problem:
after removing only, update possible, with this showing following error

Is this ok [y/N]: y
Downloading Packages:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
  File "/usr/share/yum-cli/", line 172, in main
  File "/usr/share/yum-cli/", line 301, in doTransaction
    problems = self.downloadPkgs(downloadpkgs) 
  File "/usr/lib/python2.5/site-packages/yum/", line 717, in downloadPkgs'postdownload', pkglist=pkglist, errors=errors)
  File "/usr/lib/python2.5/site-packages/yum/", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/", line 31, in postdownload_hook
    if opts.dlonly:
AttributeError: 'NoneType' object has no attribute 'dlonly

Version-Release number of selected component (if applicable):


How reproducible:
Evertime with this plugin

Steps to Reproduce:
1. update with latest yum
2. try to install some page with yum
Actual results:
show error as above

Expected results:
should work normal

Additional info:

Comment 1 Tim Lauridsen 2007-02-19 11:53:05 UTC
This is caused by a bug in yum 3.1.1, The command line options are not passed to
the plugins.

It is fixed upstream in yum CVS head.

Maybe, you could add the upstream fix, as a patch to yum-3.1.1 in rawhide,
because all plugins there added command line options (skip-broken etc), will not
work with the current 3.1.1 in rawhide.

Comment 2 Jeremy Katz 2007-02-21 22:07:40 UTC
3.1.2 will be in rawhide as of tomorrow

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