Re: yum 3.2.12 list [anything] broken on CentOS 5...

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

 



On Thu, 2008-03-06 at 10:34 -0500, Matthew Miller wrote:
> 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'

Found another case of this blowing up on rhel5 - not sure of the change,
yet, but something is not happy here.

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/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