[PATCH] Revert "Don't override a Keep selection"

Jon Turney jon.turney@dronecode.org.uk
Mon Oct 23 12:17:00 GMT 2017


On 20/10/2017 12:08, Ken Brown wrote:
> On 10/19/2017 5:36 PM, Ken Brown wrote:
>> Here's a related question.  Currently if libsolv decides I should 
>> install something and I choose Skip instead, it will get installed 
>> anyway (with no problem report).  Maybe we should have a taskSkip that 
>> generates a SOLVER_LOCK in that case, analogous to taskKeep?
> 
> A patch to do that is attached.

Yeah, this seems the right sort of thing to be doing.

The solver and picker have very different ways of representing things, 
so matching them up is a bit tricky, but now we initialize the picker to 
the solver's initial solution, anything in the picker that's changed by 
the user should be converted to a task.

I was wondering how to get a "lock in uninstalled state", but I guess 
you have discovered that it's by locking by name...



More information about the Cygwin-apps mailing list