Re: Problem with Yum 3.2.27, Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, 5 May 2010, Rohit Kumar Nayyar wrote:


Hi,

 

I am getting the following error in Yum 3.2.27, on OpenSuse 11.1; I have built this yum to work with Python
2.5.

 

    updated_pkg =  self.getInstalledPackageObject(updated)

  File "/data1/rkn/blyum/python/lib/python2.5/site-packages/yum/__init__.py", line 2608, in
getInstalledPackageObject

    pkgs = self.rpmdb.searchPkgTuple(pkgtup)

  File "/data1/rkn/blyum/python/lib/python2.5/site-packages/yum/packageSack.py", line 114, in
searchPkgTuple

    return self.searchNevra(name=n, arch=a, epoch=e, ver=v, rel=r)

  File "/data1/rkn/blyum/python/lib/python2.5/site-packages/yum/rpmsack.py", line 908, in searchNevra

    return self._search(name, epoch, ver, rel, arch)

  File "/data1/rkn/blyum/python/lib/python2.5/site-packages/yum/rpmsack.py", line 978, in _search

    mi = ts.dbMatch('name', name)

TypeError: unknown key type


if rpm.TransactionSet().dbMatch() doesn't have a key type of 'name' then something is _wrong_ with the rpm-python bindings most likely.

have you checked that with your distro? Might be a known bug.

-sv
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux