Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > by-pkgid > 95155223d2c37aceddaf82f98c22d88f > files > 4

apt-0.5.15lorg3.94-1mdv2011.0.src.rpm

--- apt-0.5.15lorg3.94pt/apt-pkg/packagemanager.cc.orig	2010-11-22 23:11:41.700593323 +0100
+++ apt-0.5.15lorg3.94pt/apt-pkg/packagemanager.cc	2010-12-06 15:31:15.476336327 +0100
@@ -212,7 +212,7 @@ bool pkgPackageManager::CheckRConflicts(
       if (D.ParentPkg() == Pkg || D.ParentVer() != D.ParentPkg().CurrentVer())
 	 continue;
       
-      if (Cache.VS().CheckDep(Ver,D) == false) // CNC:2002-07-10
+      if (D.TargetVer() == 0 || Cache.VS().CheckDep(Ver,D) == false) // CNC:2002-07-10
 	 continue;
 
       if (EarlyRemove(D.ParentPkg()) == false)