[Fedora-i18n-bugs] [Bug 571845] A bunch of changes for yum-langpacks

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 11 15:11:00 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=571845

--- Comment #4 from Peter Hjalmarsson <xake at rymdraket.net> 2010-03-11 10:10:59 EST ---
(In reply to comment #3)
> In that line:
> 
>     if yb.tsinfo.matchNaevr(name=pkg.name):
> 
> change it to be
> 
>     if yb.tsInfo.matchNaevr(name=pkg.name):
> 
> 
> and try it again, please    

Now it looks like this:

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 254, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 150, in main
    (result, resultmsgs) = base.buildTransaction() 
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 875, in
buildTransaction
    self.plugins.run('postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/langpacks.py", line 100, in postresolve_hook
    remove_deps_from_ts(conduit, po)
  File "/usr/lib/yum-plugins/langpacks.py", line 90, in remove_deps_from_ts
    for pkg in yb.rpmdb.returnPackages(patterns=[pkgmatches]):
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 432, in
returnPackages
    pkgobjlist = parsePackages(pkgobjlist, patterns, not ignore_case)
  File "/usr/lib/python2.6/site-packages/yum/packages.py", line 115, in
parsePackages
    if command in pkgdict:
TypeError: unhashable type: 'list'

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list