]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
'Source-Version' in debian/control became 'binary:Version'.
[apt.git] / apt-pkg / depcache.cc
index d1bea4cf6786d186f7008bfb784ac8c5c2c28cb6..d8b4dc6d2802801e336c9d09406f524ff52b4010 100644 (file)
@@ -914,8 +914,9 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst,
             {
               //FIXME: deal better with or-groups(?)
               DepIterator LocalStart = D;
-              
-              if(IsImportantDep(D) && Start.TargetPkg() == D.TargetPkg())
+
+              if(IsImportantDep(D) && !D.IsCritical() &&
+                 Start.TargetPkg() == D.TargetPkg())
                 {
                   if(!isPreviouslySatisfiedImportantDep)
                     {