Michael Schroeder wrote:
On Thu, Apr 17, 2008 at 11:24:59PM +0200, Jano Kupec wrote:
it seems solver wants to install something even if zypper didn't tell it to install anything:
$ zypper install foo Reading installed packages... 'foo' not found.
The following NEW package is going to be installed: gdm-branding-openSUSE That's probably a 'recommended' package. libzypp actually has the information if this is the case, maybe zypper should show it to the user.
Indeed, --no-recommends got rid of that package. But my understanding of the dragging of the recommends in was that you only try to install recommends starting from the recommends of the package you _requested_. In this case, no available package was requested. Also, the other mail by Jan (Engelhardt) says that --no-recommends didn't help him.
Regarding installing recommended packages, this is not a bug in the solver. You need to set a 'keep' lock on the packages you don't want, but persistent keep locks are not yet implemented in libzypp.
When will these weak locks be added? Anytime the solver runs with 'no-recommends' and any recommends are found? Upon removal of previously installed recommended package?
BTW, deleting recommended packages with 'rpm -e' won't help, as there will be no 'keep' lock created. Thus libzypp will reinstall the packages in the next run. There really is no good way to fix this.
Of course. 'no-recommends' must be explicitly requested via zypp.conf or CLI parameter. jano -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org