[packagekit] yum: detecting file conflicts and using a custom error
Richard Hughes
hughsient at gmail.com
Mon Apr 14 14:13:26 PDT 2008
On Mon, 2008-04-14 at 16:49 -0400, Robin Norwood wrote:
> Also, there unfortunately isn't an enumerated list of transaction
> errors anywhere that I know of. I asked Seth, and he suggested reading
> rpm's source code.
Don't do it! You'll never survive!
> > > This doesn't fit well with the exception model. If you must have
> > > a specific exception, the best we could do with the current system
> > > is pick the first and throw away the rest, which might not be the
> > > most severe.
> >
> > Sure, but it's stopping the transaction from running. Fix that, re-run
> > the transaction then find the next problem (if it still exists).
>
> Hrm. Maybe. It could be a long list though, and possibly and
> indication that Something Is Horribly wrong. Maybe show the first
> error, with a 'more details' button?
Sure, maybe. Not sure. Anything is better than a on-localised Internal
Error.
Richard.
More information about the PackageKit
mailing list