[packagekit] transaction errors from the yum backend

Tim Lauridsen tim.lauridsen at googlemail.com
Fri Jan 11 11:16:52 PST 2008


Matthias Clasen wrote:
> I finally tried to find out where the detailed message about conflicts
> gets lost.
> 
> Running update-system.py with conflicting updates ends with:
> 
> error	transaction-error	Error in Transaction Processing;
> 
> which comes from around line 922 in yumBackend.py:
> 
>             except yum.Errors.YumBaseError, msgs:
>                 retmsg = "Error in Transaction Processing;" + ";".join(msgs)
>                 self.error(ERROR_TRANSACTION_ERROR,retmsg)
> 
> Adding a   print >>sys.stderr, "see: " + str(msgs) in there reveals
> that the details are there:
> 
> see: ['ERROR with rpm_check_debug vs depsolve:', 'Package otherapp
> conflicts with someapp.', 'Please report this error in bugzilla']
> 
> 
> I'm not enough of a python programmer to figure out why the join()
> call doesn't work...
> 
> 
> Matthias
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit

Sound wierd.

can you try adding:
print ";".join(msgs)
print msgs

and try this
- retmsg = "Error in Transaction Processing;" + ";".join(msgs)
+ retmsg = "Error in Transaction Processing;"
+ retmsg += ";".join(msgs)

Tim





More information about the PackageKit mailing list