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 589008 - AttributeError: RPMDBProblemDependency instance has no attribute 'res'
Summary: AttributeError: RPMDBProblemDependency instance has no attribute 'res'
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-05 06:15 UTC by Thomas Sailer
Modified: 2014-01-21 23:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-05 06:52:11 UTC

Attachments (Terms of Use)

Description Thomas Sailer 2010-05-05 06:15:25 UTC
Description of problem:
when trying to update, yum first downloads the updates as expected, but then aborts at the beginning of the transaction.

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

How reproducible:

Steps to Reproduce:
1.yum --disablerepo=rpmfusion-free --disablerepo=rpmfusion-free-updates --disablerepo=rpmfusion-nonfree --disablerepo=rpmfusion-nonfree-updates --disablerepo=livna -y --skip-broken update

Actual results:
Total size: 129 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/", line 254, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/", line 192, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/", line 544, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.6/site-packages/yum/", line 1271, in runTransaction
  File "/usr/lib/python2.6/site-packages/yum/", line 1212, in _rpmdb_warn_checks
    for res in prob.res:
AttributeError: RPMDBProblemDependency instance has no attribute 'res'

Expected results:
transaction should complete

Comment 1 James Antill 2010-05-05 06:52:11 UTC
 This should be fixed in:'ll probably want to use rpm to update. Should be in tomorrow's rawhide (so you can use yumdownloder to get it, then).

Comment 2 Thomas Sailer 2010-05-05 09:08:47 UTC
Works, thanks a lot! If it wasn't rawhide, I would give it some karma :)

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