[Yum] yum 3.2.12 list [anything] broken on CentOS 5...

Matthew Miller mattdm at mattdm.org
Thu Mar 6 15:34:14 UTC 2008


See traceback. It's possible -- probable, even -- that I'm just missing
some prereq. But, uh, maybe that prereq is python 2.5?

Loaded plugins: changelog, merge-conf, protect-packages, security, tsflags
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 236, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 111, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 309, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 208, in doCommand
    ypl = base.returnPkgLists(extcmds)
  File "/usr/share/yum-cli/cli.py", line 645, in returnPkgLists
    ypl = self.doPackageLists(pkgnarrow=pkgnarrow, patterns=extcmds)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1314, in doPackageLists
    avail = self.pkgSack.returnNewestByNameArch(patterns=patterns)
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 369, in returnNewestByNameArch
    bestofeach.addList(calr("returnNewestByNameArch", naTup, patterns))
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 435, in _computeAggregateListResult
    sackResult = apply(method, args)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 40, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 797, in returnNewestByNameArch
    patterns)
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 748, in returnNewestByNameArch
    where = self.returnPackages(patterns=patterns)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 913, in returnPackages
    pkgobjlist = self._buildPkgObjList(repoid, patterns)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 40, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 884, in _buildPkgObjList
    executeSQL(cur, qsql, pat_data)
  File "/usr/lib/python2.4/site-packages/yum/sqlutils.py", line 147, in executeSQLPyFormat
    (q, p) = QmarkToPyformat(query, params)
  File "/usr/lib/python2.4/site-packages/yum/sqlutils.py", line 121, in QmarkToPyformat
    if token.endswith("?"):
AttributeError: 'NoneType' object has no attribute 'endswith'




-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>



More information about the Yum mailing list