https://bugzilla.novell.com/show_bug.cgi?id=483648 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483648#c9 --- Comment #9 from Michael Andres <ma@novell.com> 2009-03-18 07:10:36 MST --- Q2) If any package is preselected by APPL_HIGH/USER the solver will respect this request. No matter if this package is also required by, recommended by, or unrelated to any other package. The flags ignoreAlreadyRecommended and onlyRequires do only prevent the solver from _automatically_ adding additional packages (not requested by APPL_HIGH/USER). If you e.g select a package that recommends 'foo' and solve, foo will get selected by the solver: UT_s foo (U)ninstalled,(T)ransacts,selected by(Solver) If you now turn on the onlyRequires flag and solve, 'foo' will get unselected: U__s foo The solver never takes a previous solver decision into account. That's why his previous decision gets reverted. The situation is different, if foo was softlocked: Q1) 'reset all pending transactions but preserve the SoftLocks?' It depends. What we call soft lock is not some additional status attribute, but it is the KEEP state set by APPL_HIGH/USER. If you leave this state and enter e.g. TRANSACTS, the information about the previous state(s) is lost. You don't know it the package has ever been hardlocked, softlocked or whatever. There are several things we could offer. The best solution somewhat depends on the workflow. They all need to be implemented in libzypp. Most probably they are backportable 11.1 if needed. a) It seems to be possible to compute the initial relevant/satisfies/broken state without a solver run at all. This would be done at the time repos are loaded into the pool. So one could compute required patches without need to call the solver. b) Zypp could offer a 'named'backup/restore state. Application could then ask to save the status of all items under some name, and later request to restore to this state. This would undo all changes, thus restore the softlocks. c) We could offer some method to -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.