Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 133738fd1ec1a496d35c2af5039a0eb4 > files > 16

apt-0.5.15lorg3.94-32.mga7.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)