Fajar A. Nugraha wrote: > seth vidal wrote: > >> On Fri, 2007-05-04 at 15:34 +0700, Fajar A. Nugraha wrote: >> >> >>> But apparently an old yum-3.1 bug is back >>> File "rpmsack.py", line 145, in searchProvides >>> File "rpmsack.py", line 122, in searchPrco >>> TypeError: unknown key type >>> >>> >> what version of rpm, rpm-python and which distro? >> >> > Opensuse 10.2 > rpm-4.4.2-76 > rpm-python-4.4.2-76 > python-2.5-19.2 > > I've applied Christopher's patches and it works perferctly now. Thanks. > Hi, Apparently there's another TypeError bug. # yum --noplugins -d9 upgrade Yum Version: 3.1.7 COMMAND: yum --noplugins -d9 upgrade Installroot: / Setting up Upgrade Process Reading Local RPMDB Building updates object Setting up Package Sacks <=== output truncated ===> Resolving Dependencies 1178780611.78 --> Running transaction check ---> Package ImageMagick.i586 0:6.3.0.0-27.4 set to be updated Checking deps for ImageMagick.i586 0-6.3.0.0-27.4 - u ---> Package GraphicsMagick.i586 0:1.1.7-35.3 set to be updated Checking deps for GraphicsMagick.i586 0-1.1.7-35.3 - u Checking deps for resmgr.i586 0-1.1.0_SVNr123-9.2 - None Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 135, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 548, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 794, in resolveDeps deps = self._mytsCheck() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 775, in _mytsCheck ret.extend(self._checkRemove(txmbr)) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1003, in _checkRemove for f in newpo.filelist: File "/usr/lib/python2.5/site-packages/yum/packages.py", line 367, in <lambda> filelist = property(fget=lambda self: self.returnFileEntries(ftype='file')) File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 171, in returnFileEntries self._loadFiles() File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 124, in _loadFiles "packages.pkgKey = filelist.pkgKey", (self.pkgId,)) File "/usr/lib/python2.5/site-packages/yum/sqlutils.py", line 148, in executeSQLQmark return cursor.execute(query, params) File "/usr/lib/python2.5/site-packages/sqlite/main.py", line 255, in execute self.rs = self.con.db.execute(SQL % parms) TypeError: not all arguments converted during string formatting Regards, Fajar _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum