Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
[yast-devel] Re: [zypp-devel] ignore with solver
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Tue, 18 Mar 2008 16:14:28 +0100
  • Message-id: <47DFDC54.7040207@xxxxxxx>
Lukas Ocilka wrote:
Josef Reidinger napsal(a):
due to FATE #303527 I plan add new item to enum Action to
mediaRequestCallback. Behavior of this action is remember package which
fail to download and throw it from libzypp. Program like zypper catch
this exception, say solver that this package don't use and try make new
installation plan without problematic package. Maybe
IgnoreRequestException can be used, due to it's not used anywhere in
zypp (and is userRequest exception).
any ideas or comments?
Also is KEEP_STATE (in ResStatus) good to say solver that it cannot use
this package?

I'm sorry, but what does this exactly mean in human-speech? :) ;)


This mean that user choose some packages to install. Solver add
prerequisites for this packages. Some prerequisite cannot be download
and if use this new action (instead of retry or abort or simply ignore)
program try make for user new prerequisites combination without
previously failed package.
For programmers that uses libzypp it mean, that they must (if support
this action in callback) catch from commit call exception, disable this
package instalation for solver, rerun solver and try again commit (of
course with any user responses if really want new plan or if not
possible install without this package then some as do standard).

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages