On Wed, Sep 22, 2010 at 10:06:06PM -0600, Rashmi Ranjan Mohanty wrote:
I have jre-1.6.0 package installed and one package jre-links package installed which requires "jre >= 1.6.0" . Now I want to install jre-1.5.0 package. First I want to do dependency resolution using satsolver and then install the package using 'rpm -i' command so that it can install jre-1.5.0 along side jre-1.6.0. But in the dependency resolution phase satsolver tells me to remove jre-links package because it tries to replace jre-1.6.0 with jre-1.5.0.
Normally install-only flag is set to 1 in the metadata when 'rpm -i' behavior is intended in stead of default 'rpm -U' behavior.
(I don't think "install-only" per package makes much sense, the user normally configures it "per package name".)
But does satsolver handle install-only flag during solving ? If no, then is there any plan to handle the flag ? If yes, then how do I set the flag for a solvable ?
You add SOLVER_NOOBSOLETES jobs to tell the solver that the matched packages should be installed with '-i', not '-U'. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org