seth vidal wrote: > On Thu, 2007-03-15 at 16:00 +0700, Fajar A. Nugraha wrote: >> TypeError: unknown key type > > > > Can you replicate this every time? I can't seem to see why its happening Yes. > and I need to know what the inputs are here. So if you can replicate > this I can send you a short patch which should let me know what it's > doing. > That would be good. In the mean time, here's the debug output. The error seems to be related with what I'm trying to install though (apparently the "TypeError: not all arguments converted during string formatting" is till there). These two example are from trying to install a52dec and python-sqlite, each was removed previously with rpm -e --nodeps This is on Opensuse-10.2, python-2.5-19.2, sqlite-3.3.8-14 # yum -d9 --noplugins install python-sqlite Yum Version: 3.1.4 COMMAND: yum -d9 --noplugins install python-sqlite Installroot: / Ext Commands: python-sqlite Setting up Install Process Parsing package install arguments Setting up Package Sacks Reading Local RPMDB No other python-sqlite installed, adding to list for potential install reduced installs : python-sqlite.i586 0:1.1.8-11 Building updates object putting xvid in complex update putting amarok in complex update putting libzypp in complex update putting krb5 in complex update putting ImageMagick in complex update putting sax2-tools in complex update putting MozillaFirefox in complex update putting mono-web in complex update putting kdeaddons3-konqueror in complex update putting gtk2 in complex update putting resmgr in complex update putting gpg2 in complex update putting pm-utils in complex update putting glibc-devel in complex update putting GraphicsMagick in complex update putting release-notes in complex update putting qtcurve-gtk2 in complex update putting sax2 in complex update putting samba-client in complex update putting compiz in complex update putting cups in complex update putting xpdf-tools in complex update putting java-1_5_0-sun-plugin in complex update putting timezone in complex update putting sax2-gui in complex update putting digikam in complex update putting libifp in complex update putting sax2-libsax-perl in complex update putting libmtp in complex update putting novfs-kmp-default in complex update putting kdegraphics3-pdf in complex update putting novfs-kmp-xen in complex update putting ruby in complex update putting bind-utils in complex update putting kchmviewer in complex update putting jarnal in complex update putting bluez-utils in complex update putting kdenetwork3-InstantMessenger in complex update putting kdelibs3 in complex update putting autofs in complex update putting autoyast2-installation in complex update putting glibc in complex update putting yast2-sudo in complex update putting xvid-devel in complex update putting ImageMagick-Magick++ in complex update putting nmap in complex update putting sax2-libsax in complex update putting mono-core in complex update putting bluez-libs in complex update putting poppler in complex update putting kaffeine in complex update putting qtcurve-kde in complex update putting NetworkManager-kde in complex update putting xmoto in complex update putting tar in complex update putting libsoup in complex update putting liboil in complex update putting flash-player in complex update putting sysvinit in complex update putting libnjb in complex update putting db in complex update putting libexiv2 in complex update putting python in complex update putting xorg-x11-server in complex update putting libdvdread in complex update putting yast2-sound in complex update putting java-1_5_0-sun in complex update putting spamassassin in complex update putting powersave in complex update putting qtcurve-gtk2 in complex update putting cups-client in complex update putting MozillaThunderbird in complex update putting openssl in complex update putting bind-libs in complex update putting gpg in complex update putting smart in complex update putting hal in complex update putting samba in complex update putting gnokii in complex update putting kernel-default in complex update putting libffmpeg0 in complex update putting amarok in complex update putting amarok-libvisual in complex update putting yast2-printer in complex update putting zypper in complex update putting cups-libs in complex update putting avidemux in complex update putting evince in complex update putting libtunepimp in complex update putting yum in complex update putting ode in complex update putting MozillaFirefox-translations in complex update putting autoyast2 in complex update putting sysstat in complex update putting libtheora in complex update putting amarok-xine in complex update putting chmlib in complex update putting sax2-ident in complex update putting hal-resmgr in complex update putting amarok-libvisual in complex update putting libmtp in complex update putting ktorrent in complex update putting mono-data in complex update putting amarok-xine in complex update putting kpowersave in complex update putting lvm2 in complex update putting smart-gui in complex update putting xorg-x11-Xvnc in complex update putting perl-spamassassin in complex update putting kdebase3 in complex update putting kernel-xen in complex update putting libxine1 in complex update putting mono-data-sqlite in complex update putting w3m in complex update putting pam in complex update putting rrdtool in complex update putting neon in complex update processing xvid processing amarok processing libzypp processing krb5 processing ImageMagick processing sax2-tools processing MozillaFirefox processing mono-web processing kdeaddons3-konqueror processing gtk2 processing resmgr processing gpg2 processing pm-utils processing glibc-devel processing GraphicsMagick processing release-notes processing qtcurve-gtk2 processing sax2 processing samba-client processing compiz processing cups processing xpdf-tools processing java-1_5_0-sun-plugin processing timezone processing sax2-gui processing digikam processing libifp processing sax2-libsax-perl processing libmtp processing novfs-kmp-default processing kdegraphics3-pdf processing novfs-kmp-xen processing ruby processing bind-utils processing kchmviewer processing jarnal processing bluez-utils processing kdenetwork3-InstantMessenger processing kdelibs3 processing autofs processing autoyast2-installation processing glibc.i686 processing yast2-sudo processing xvid-devel processing ImageMagick-Magick++ processing nmap processing sax2-libsax processing mono-core processing bluez-libs processing poppler processing kaffeine processing qtcurve-kde processing NetworkManager-kde processing xmoto processing tar processing libsoup processing liboil processing flash-player processing sysvinit processing libnjb processing db processing libexiv2 processing python processing xorg-x11-server processing libdvdread processing yast2-sound processing java-1_5_0-sun processing spamassassin processing powersave processing qtcurve-gtk2 processing cups-client processing MozillaThunderbird processing openssl processing bind-libs processing gpg processing smart processing hal processing samba processing gnokii processing kernel-default.i586 processing libffmpeg0 processing amarok processing amarok-libvisual processing yast2-printer processing zypper processing cups-libs processing avidemux processing evince processing libtunepimp processing yum processing ode processing MozillaFirefox-translations processing autoyast2 processing sysstat processing libtheora processing amarok-xine processing chmlib processing sax2-ident processing hal-resmgr processing amarok-libvisual processing libmtp processing ktorrent processing mono-data processing amarok-xine processing kpowersave processing lvm2 processing smart-gui processing xorg-x11-Xvnc processing perl-spamassassin processing kdebase3 processing kernel-xen.i586 processing libxine1 processing mono-data-sqlite processing w3m processing pam processing rrdtool processing neon Resolving Dependencies 1174013231.58 --> Running transaction check Checking deps for python-sqlite.i586 0-1.1.8-11 - u looking for (u'libpython2.5.so.1.0', None, (None, None, None)) as a requirement of python-sqlite.i586 0-1.1.8-11 - u 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 "__init__.py", line 537, in buildTransaction File "depsolve.py", line 1146, in _resolveDeps File "depsolve.py", line 1122, in _mytsCheck File "depsolve.py", line 1272, in _checkInstall File "depsolve.py", line 1052, in _provideToPkg File "rpmsack.py", line 395, in whatProvides File "rpmsack.py", line 145, in searchProvides File "rpmsack.py", line 122, in searchPrco TypeError: unknown key type # yum -d9 --noplugins install a52dec Yum Version: 3.1.4 COMMAND: yum -d9 --noplugins install a52dec Installroot: / Ext Commands: a52dec Setting up Install Process Parsing package install arguments Setting up Package Sacks Reading Local RPMDB No other a52dec installed, adding to list for potential install reduced installs : a52dec.i586 0:0.7.4-3.pm.1 Building updates object putting xvid in complex update putting amarok in complex update putting libzypp in complex update putting ImageMagick in complex update putting sax2-tools in complex update putting MozillaFirefox in complex update putting autoyast2-installation in complex update putting mono-web in complex update putting kdeaddons3-konqueror in complex update putting gtk2 in complex update putting resmgr in complex update putting gpg2 in complex update putting pm-utils in complex update putting glibc-devel in complex update putting GraphicsMagick in complex update putting java-1_5_0-sun in complex update putting release-notes in complex update putting qtcurve-gtk2 in complex update putting sax2 in complex update putting yast2-printer in complex update putting samba-client in complex update putting compiz in complex update putting cups in complex update putting xpdf-tools in complex update putting java-1_5_0-sun-plugin in complex update putting timezone in complex update putting sax2-gui in complex update putting digikam in complex update putting libifp in complex update putting sax2-libsax-perl in complex update putting libmtp in complex update putting novfs-kmp-default in complex update putting kdegraphics3-pdf in complex update putting novfs-kmp-xen in complex update putting ruby in complex update putting bind-utils in complex update putting kchmviewer in complex update putting jarnal in complex update putting bluez-utils in complex update putting kdenetwork3-InstantMessenger in complex update putting kdelibs3 in complex update putting autofs in complex update putting glibc in complex update putting yast2-sudo in complex update putting xvid-devel in complex update putting nmap in complex update putting sax2-libsax in complex update putting mono-core in complex update putting krb5 in complex update putting bluez-libs in complex update putting poppler in complex update putting kaffeine in complex update putting qtcurve-kde in complex update putting xmoto in complex update putting tar in complex update putting libsoup in complex update putting liboil in complex update putting flash-player in complex update putting autoyast2 in complex update putting sysvinit in complex update putting lvm2 in complex update putting libnjb in complex update putting db in complex update putting NetworkManager-kde in complex update putting python in complex update putting xorg-x11-server in complex update putting libdvdread in complex update putting yast2-sound in complex update putting spamassassin in complex update putting powersave in complex update putting qtcurve-gtk2 in complex update putting cups-client in complex update putting MozillaThunderbird in complex update putting openssl in complex update putting bind-libs in complex update putting kernel-xen in complex update putting smart in complex update putting gpg in complex update putting libxine1 in complex update putting hal in complex update putting samba in complex update putting gnokii in complex update putting kernel-default in complex update putting libffmpeg0 in complex update putting amarok in complex update putting amarok-libvisual in complex update putting zypper in complex update putting cups-libs in complex update putting avidemux in complex update putting evince in complex update putting libtunepimp in complex update putting yum in complex update putting ode in complex update putting MozillaFirefox-translations in complex update putting sysstat in complex update putting libtheora in complex update putting amarok-xine in complex update putting chmlib in complex update putting sax2-ident in complex update putting ImageMagick-Magick++ in complex update putting amarok-libvisual in complex update putting libmtp in complex update putting ktorrent in complex update putting mono-data in complex update putting amarok-xine in complex update putting hal-resmgr in complex update putting kpowersave in complex update putting smart-gui in complex update putting xorg-x11-Xvnc in complex update putting perl-spamassassin in complex update putting kdebase3 in complex update putting mono-data-sqlite in complex update putting w3m in complex update putting pam in complex update putting rrdtool in complex update putting neon in complex update putting libexiv2 in complex update processing xvid processing amarok processing libzypp processing ImageMagick processing sax2-tools processing MozillaFirefox processing autoyast2-installation processing mono-web processing kdeaddons3-konqueror processing gtk2 processing resmgr processing gpg2 processing pm-utils processing glibc-devel processing GraphicsMagick processing java-1_5_0-sun processing release-notes processing qtcurve-gtk2 processing sax2 processing yast2-printer processing samba-client processing compiz processing cups processing xpdf-tools processing java-1_5_0-sun-plugin processing timezone processing sax2-gui processing digikam processing libifp processing sax2-libsax-perl processing libmtp processing novfs-kmp-default processing kdegraphics3-pdf processing novfs-kmp-xen processing ruby processing bind-utils processing kchmviewer processing jarnal processing bluez-utils processing kdenetwork3-InstantMessenger processing kdelibs3 processing autofs processing glibc.i686 processing yast2-sudo processing xvid-devel processing nmap processing sax2-libsax processing mono-core processing krb5 processing bluez-libs processing poppler processing kaffeine processing qtcurve-kde processing xmoto processing tar processing libsoup processing liboil processing flash-player processing autoyast2 processing sysvinit processing lvm2 processing libnjb processing db processing NetworkManager-kde processing python processing xorg-x11-server processing libdvdread processing yast2-sound processing spamassassin processing powersave processing qtcurve-gtk2 processing cups-client processing MozillaThunderbird processing openssl processing bind-libs processing kernel-xen.i586 processing smart processing gpg processing libxine1 processing hal processing samba processing gnokii processing kernel-default.i586 processing libffmpeg0 processing amarok processing amarok-libvisual processing zypper processing cups-libs processing avidemux processing evince processing libtunepimp processing yum processing ode processing MozillaFirefox-translations processing sysstat processing libtheora processing amarok-xine processing chmlib processing sax2-ident processing ImageMagick-Magick++ processing amarok-libvisual processing libmtp processing ktorrent processing mono-data processing amarok-xine processing hal-resmgr processing kpowersave processing smart-gui processing xorg-x11-Xvnc processing perl-spamassassin processing kdebase3 processing mono-data-sqlite processing w3m processing pam processing rrdtool processing neon processing libexiv2 Resolving Dependencies 1174013135.1 --> Running transaction check Checking deps for a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libc.so.6(GLIBC_2.0)', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('/bin/sh', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libm.so.6(GLIBC_2.0)', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libm.so.6', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libc.so.6(GLIBC_2.1.3)', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libc.so.6(GLIBC_2.1)', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libc.so.6', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u looking for ('libc.so.6(GLIBC_2.3.4)', None, (None, None, None)) as a requirement of a52dec.i586 0-0.7.4-3.pm.1 - u Dependencies Resolved 1174013135.18 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 172, in main base.doTransaction() File "/usr/share/yum-cli/cli.py", line 271, in doTransaction self.listTransaction()) File "/usr/share/yum-cli/output.py", line 263, in listTransaction pkgsize = float(txmbr.po.size) File "packages.py", line 460, in _size File "sqlitesack.py", line 103, in __getattr__ File "sqlutils.py", line 148, in executeSQLQmark 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 Installing a52dec with yum-3.0.5 (which works) gives this output # yum -d9 --noplugins install a52dec Yum Version: 3.0.5 COMMAND: yum -d9 --noplugins Installroot: / Ext Commands: a52dec Setting up Install Process Setting up repositories base-non-oss 100% |=========================| 951 B 00:00 packman 100% |=========================| 951 B 00:00 guru 100% |=========================| 951 B 00:00 beryl 100% |=========================| 951 B 00:00 base 100% |=========================| 951 B 00:00 updates 100% |=========================| 951 B 00:00 xorg 100% |=========================| 951 B 00:00 local 100% |=========================| 951 B 00:00 Reading repository metadata in from local files Setting up Package Sacks Reading Local RPMDB Parsing package install arguments No other a52dec installed, adding to list for potential install reduced installs : a52dec.i586 0:0.7.4-3.pm.1 skipping reposetup, pkgsack exists skipping reposetup, pkgsack exists Building updates object putting xvid in complex update putting amarok in complex update putting libzypp in complex update putting krb5 in complex update putting ImageMagick in complex update putting sax2-tools in complex update putting MozillaFirefox in complex update putting mono-web in complex update putting kdeaddons3-konqueror in complex update putting gtk2 in complex update putting resmgr in complex update putting gpg2 in complex update putting pm-utils in complex update putting glibc-devel in complex update putting GraphicsMagick in complex update putting release-notes in complex update putting qtcurve-gtk2 in complex update putting sax2 in complex update putting samba-client in complex update putting compiz in complex update putting cups in complex update putting xpdf-tools in complex update putting java-1_5_0-sun-plugin in complex update putting timezone in complex update putting sax2-gui in complex update putting libdvdread in complex update putting digikam in complex update putting libifp in complex update putting sax2-libsax-perl in complex update putting libmtp in complex update putting novfs-kmp-default in complex update putting kdegraphics3-pdf in complex update putting novfs-kmp-xen in complex update putting ruby in complex update putting bind-utils in complex update putting kchmviewer in complex update putting jarnal in complex update putting bluez-utils in complex update putting kdenetwork3-InstantMessenger in complex update putting kdelibs3 in complex update putting autofs in complex update putting autoyast2-installation in complex update putting glibc in complex update putting yast2-sudo in complex update putting xvid-devel in complex update putting ImageMagick-Magick++ in complex update putting nmap in complex update putting sax2-libsax in complex update putting mono-core in complex update putting bluez-libs in complex update putting poppler in complex update putting kaffeine in complex update putting qtcurve-kde in complex update putting NetworkManager-kde in complex update putting xmoto in complex update putting tar in complex update putting libsoup in complex update putting liboil in complex update putting flash-player in complex update putting sysvinit in complex update putting libnjb in complex update putting db in complex update putting libexiv2 in complex update putting python in complex update putting xorg-x11-server in complex update putting yast2-sound in complex update putting java-1_5_0-sun in complex update putting spamassassin in complex update putting powersave in complex update putting qtcurve-gtk2 in complex update putting cups-client in complex update putting MozillaThunderbird in complex update putting openssl in complex update putting bind-libs in complex update putting gpg in complex update putting smart in complex update putting hal in complex update putting samba in complex update putting gnokii in complex update putting kernel-default in complex update putting libffmpeg0 in complex update putting amarok in complex update putting amarok-libvisual in complex update putting yast2-printer in complex update putting zypper in complex update putting cups-libs in complex update putting avidemux in complex update putting evince in complex update putting libtunepimp in complex update putting yum in complex update putting ode in complex update putting MozillaFirefox-translations in complex update putting autoyast2 in complex update putting sysstat in complex update putting libtheora in complex update putting amarok-xine in complex update putting chmlib in complex update putting sax2-ident in complex update putting hal-resmgr in complex update putting amarok-libvisual in complex update putting libmtp in complex update putting ktorrent in complex update putting mono-data in complex update putting amarok-xine in complex update putting kpowersave in complex update putting lvm2 in complex update putting smart-gui in complex update putting xorg-x11-Xvnc in complex update putting perl-spamassassin in complex update putting kdebase3 in complex update putting kernel-xen in complex update putting libxine1 in complex update putting mono-data-sqlite in complex update putting w3m in complex update putting pam in complex update putting rrdtool in complex update putting neon in complex update processing xvid processing amarok processing libzypp processing krb5 processing ImageMagick processing sax2-tools processing MozillaFirefox processing mono-web processing kdeaddons3-konqueror processing gtk2 processing resmgr processing gpg2 processing pm-utils processing glibc-devel processing GraphicsMagick processing release-notes processing qtcurve-gtk2 processing sax2 processing samba-client processing compiz processing cups processing xpdf-tools processing java-1_5_0-sun-plugin processing timezone processing sax2-gui processing libdvdread processing digikam processing libifp processing sax2-libsax-perl processing libmtp processing novfs-kmp-default processing kdegraphics3-pdf processing novfs-kmp-xen processing ruby processing bind-utils processing kchmviewer processing jarnal processing bluez-utils processing kdenetwork3-InstantMessenger processing kdelibs3 processing autofs processing autoyast2-installation processing glibc.i686 processing yast2-sudo processing xvid-devel processing ImageMagick-Magick++ processing nmap processing sax2-libsax processing mono-core processing bluez-libs processing poppler processing kaffeine processing qtcurve-kde processing NetworkManager-kde processing xmoto processing tar processing libsoup processing liboil processing flash-player processing sysvinit processing libnjb processing db processing libexiv2 processing python processing xorg-x11-server processing yast2-sound processing java-1_5_0-sun processing spamassassin processing powersave processing qtcurve-gtk2 processing cups-client processing MozillaThunderbird processing openssl processing bind-libs processing gpg processing smart processing hal processing samba processing gnokii processing kernel-default.i586 processing libffmpeg0 processing amarok processing amarok-libvisual processing yast2-printer processing zypper processing cups-libs processing avidemux processing evince processing libtunepimp processing yum processing ode processing MozillaFirefox-translations processing autoyast2 processing sysstat processing libtheora processing amarok-xine processing chmlib processing sax2-ident processing hal-resmgr processing amarok-libvisual processing libmtp processing ktorrent processing mono-data processing amarok-xine processing kpowersave processing lvm2 processing smart-gui processing xorg-x11-Xvnc processing perl-spamassassin processing kdebase3 processing kernel-xen.i586 processing libxine1 processing mono-data-sqlite processing w3m processing pam processing rrdtool processing neon Resolving Dependencies 1174013426.54 --> Populating transaction set with selected packages. Please wait. Member: a52dec.i586 0-0.7.4-3.pm.1 - u ---> Downloading header for a52dec to pack into transaction set. a52dec-0.7.4-3.pm.1.i586. 100% |=========================| 4.4 kB 00:00 Adding Package a52dec - 0.7.4-3.pm.1.i586 in mode u ---> Package a52dec.i586 0:0.7.4-3.pm.1 set to be updated --> Running transaction check Dependencies Resolved 1174013426.85 ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: a52dec i586 0.7.4-3.pm.1 packman 119 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 119 k Is this ok [y/N]: y Downloading Packages: (1/1): a52dec-0.7.4-3.pm. 100% |=========================| 119 kB 00:02 Running Transaction Test Member: a52dec.i586 0-0.7.4-3.pm.1 - u Adding Package a52dec - 0.7.4-3.pm.1.i586 in mode u warning: a52dec-0.7.4-3.pm.1: Header V3 DSA signature: NOKEY, key ID 3ab2ce5e Finished Transaction Test Transaction Test Succeeded Member: a52dec.i586 0-0.7.4-3.pm.1 - u Adding Package a52dec - 0.7.4-3.pm.1.i586 in mode u Running Transaction Installing: a52dec ######################### [1/1] Installed: a52dec.i586 0:0.7.4-3.pm.1 Complete! Regards, Fajar _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum