[packagekit] Ignoring updates

Robin Norwood rnorwood at redhat.com
Tue Apr 15 09:28:25 PDT 2008


On Tue, 15 Apr 2008 16:51:23 +0100
Richard Hughes <hughsient at gmail.com> wrote:

> On Tue, 2008-04-15 at 11:08 -0400, Jesse Keating wrote:
> > So that again begs the questions I posted before.  How do we infer,
> > without throwing up lots of scary ui, what the user actually wants?
> 
> Well, if the user wants to ignore kernel, and he's selected udev, and
> udev requires a new kernel, then I think that the transaction should
> still proceed, only doing a Message() that additional deps are dragged
> in.
> 
> The only other way is to fail the transaction if it cannot be resolved
> with the current selection.
> 
> BIG NOTE: We can't pass the backends a "list of things to ignore".
> It's just not going to work.

Hrm.  Well, this ends up being different behavior from the yum exclude
option anyway, then.  I'm pretty sure yum exclude will not do the
update at all.

And, if the user *does* explicitly say "don't update this" and then we
say "sorry, we updated it anyway..."

<cliche>What are the use cases we're trying to solve?</cliche>

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching



More information about the PackageKit mailing list