[packagekit] yum: detecting file conflicts and using a custom error

Tim Lauridsen tim.lauridsen at googlemail.com
Mon Apr 14 01:03:06 PDT 2008


Richard Hughes wrote:
> The YUM backend seems to report that file conflicts is an unknown type
> of error. This sort of error is quite common when users mix repos (and
> they do) so we probably need to explicitly catch this and emit a custom
> error code.
> 
> There's a screenshot here:
> https://bugzilla.redhat.com/attachment.cgi?id=300088
> 
> Thanks.
> 
> Richard.
> 
> 
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit

The error messages is returned when doing a rpm test transaction, the 
backend (yum) just knows there is an error in the test transaction and a 
  list of errors, it dont know what kind of errors it is (conflicts in 
this case), so we just can send a signal that something is broken and 
the messages it gets from rpm.

Tim



More information about the PackageKit mailing list