From 10a71cc21ad6fadb4f2b5d0d674a0ba06f2e059a Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Thu, 1 Jun 2006 13:11:58 +0000 Subject: [PATCH] All installed resolvables has been set to "satisfied" in ResolverContext::unneeded . BUT: Patch concerning resolvables have to be set to "unneeded" although they are installed. In order getting the state "no longer applicable" (Bug 171590) --- zypp/solver/detail/ResolverContext.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/zypp/solver/detail/ResolverContext.cc b/zypp/solver/detail/ResolverContext.cc index 0a61df248..999dcb6c7 100644 --- a/zypp/solver/detail/ResolverContext.cc +++ b/zypp/solver/detail/ResolverContext.cc @@ -547,12 +547,21 @@ ResolverContext::unneeded (PoolItem_Ref item, int other_penalty) status = getStatus(item); if (status.wasInstalled()) { - setStatus (item, ResStatus::satisfied); + if (item->kind() != ResTraits::kind + && item->kind() != ResTraits::kind + && item->kind() != ResTraits