[packagekit] transaction errors from the yum backend
Matthias Clasen
matthias.clasen at gmail.com
Fri Jan 11 07:09:04 PST 2008
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
More information about the PackageKit
mailing list