Mailinglist Archive: zypp-devel (226 mails)
| < Previous | Next > |
Re: [zypp-devel] zypper odds
- From: Jan Kupec <jkupec@xxxxxxx>
- Date: Fri, 18 Apr 2008 12:26:35 +0200
- Message-id: <4808775B.1060602@xxxxxxx>
Michael Schroeder wrote:
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.
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?
Of course. 'no-recommends' must be explicitly requested via zypp.conf or
CLI parameter.
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
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 toThat's probably a 'recommended' package. libzypp actually
install anything:
$ zypper install foo
Reading installed packages...
'foo' not found.
The following NEW package is going to be installed:
gdm-branding-openSUSE
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |