[ATrpms-users] FC7 yumex problem

Axel Thimm Axel.Thimm at ATrpms.net
Tue May 1 23:38:48 CEST 2007


On Tue, May 01, 2007 at 02:22:14PM -0400, Jeff Guerdat wrote:
> Before I submit a bugzilla report on this, I thought I'd ask here.
> 
> Just upgraded to FC7 (well, FC6.93) and adding in the ATrpms' 
> configuration causes yumex to always stop processing when processing the 
> queue with:
> 
> Traceback (most recent call last):
>    File "/usr/share/yumex/yumex.py", line 170, in on_queueProcess_clicked
>      rc = self.processPackageQueue(self.queue.packages)
>    File "/usr/share/yumex/yumex.py", line 615, in processPackageQueue
>      rc, msg = self.yumbase._prepareTransaction(pkgs,doAll)
>    File "/usr/share/yumex/yumapi.py", line 174, in _prepareTransaction
>      return self.buildTransaction()
>    File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 549, in 
> buildTransaction
>      self.plugins.run('postresolve', rescode=rescode, restring=restring)
>    File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 163, in run
>      func(conduitcls(self, self.base, conf, **kwargs))
>    File "/usr/lib/yum-plugins/kmdl.py", line 98, in postresolve_hook
>      doupdate = commands[0] == 'update'
> IndexError: list index out of range
> 
> This doesn't happen with just yum and it doesn't matter whether I'm 
> choosing ATrpms files or Redhat.
> 
> Any thoughts?

Hm, yes, the commands[0] needs to be protected against commands being
None or []. The same bug should also happen with FC6 in theory, but
perhaps in FC6 yumex would pass a commands like [""].

Anyway it's a bug worth filing against bugzilla.atrpms.net. As a
workaround, if you only use yumex, you can replace this line with

	    doupdate = false

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20070501/c0a9774b/attachment.bin 


More information about the atrpms-users mailing list