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

Richard Hughes hughsient at gmail.com
Mon Apr 14 04:04:04 PDT 2008


On Mon, 2008-04-14 at 10:03 +0200, Tim Lauridsen wrote:
> 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.

So yum doesn't send out different types of exception? If it doesn't can
we add some?

Worst case scenario, we need to do some sort of string matching to find
"conflicts with file from package" in the error description. If we can't
add exception types, then I'll have to do that.

Richard.





More information about the PackageKit mailing list