Bug 674690 - AttributeError: 'NoneType' object has no attribute 'dbMatch' - can't install the newest koji kernel
Summary: AttributeError: 'NoneType' object has no attribute 'dbMatch' - can't install ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-02 22:34 UTC by Ville-Pekka Vainio
Modified: 2014-01-21 23:17 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-03 15:35:59 UTC
Type: ---


Attachments (Terms of Use)

Description Ville-Pekka Vainio 2011-02-02 22:34:19 UTC
Description of problem:
I tried to install the newest kernel in koji with gpk-install-local-file (clicking on the rpm file and letting Firefox open it with the default tool). I get the following error message:

Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2370, in _runYumTransaction
    rc, msgs = self.yumbase.buildTransaction()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 926, in buildTransaction
    kern_pkgtup = misc.get_running_kernel_pkgtup(self.rpmdb.ts)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 735, in get_running_kernel_pkgtup
    mi = ts.dbMatch('basenames', fn)
  File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 59, in __getattr__
    return self.getMethod(attr)
  File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 69, in getMethod
    return getattr(self.ts, method)
AttributeError: 'NoneType' object has no attribute 'dbMatch'

Version-Release number of selected component (if applicable):
PackageKit-0.6.12-2.fc14
yum-3.2.28-5.fc14

How reproducible:
Always

Steps to Reproduce:
1. Download http://kojipkgs.fedoraproject.org/packages/kernel/2.6.38/0.rc3.git0.1.fc15/x86_64/kernel-2.6.38-0.rc3.git0.1.fc15.x86_64.rpm
2. Try to install it with gpk-install-local-file

Comment 1 Richard Hughes 2011-02-03 10:19:23 UTC
Reassigning to yum guys for comment.

Comment 2 seth vidal 2011-02-03 15:35:59 UTC
the bug here is fixed in upstream yum back in november of last year.

there is not, yet, a patch for f14 but yum 3.2.29 from rawhide will definitely fix it.


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