]> git.saurik.com Git - apt.git/commitdiff
backout revno 1875 - as this aggressive immediate propergation is something we want...
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 1 Oct 2009 16:48:18 +0000 (18:48 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 1 Oct 2009 16:48:18 +0000 (18:48 +0200)
apt-pkg/packagemanager.cc

index dbcd461acb3770996dde2d45a581c137f99839a4..e51021b3938ac95a34088c8644e0430ac9ad4c55 100644 (file)
@@ -143,10 +143,6 @@ void pkgPackageManager::ImmediateAdd(PkgIterator I, bool UseInstallVer, unsigned
    for ( /* nothing */  ; D.end() == false; D++)
       if (D->Type == pkgCache::Dep::Depends || D->Type == pkgCache::Dep::PreDepends)
       {
-        // ignore dependencies if no instal/upgrade/remove is going to happen
-        if (D.TargetPkg() == 0 || Cache[D.TargetPkg()].Keep())
-             continue;
-
         if(!List->IsFlag(D.TargetPkg(), pkgOrderList::Immediate))
         {
            if(Debug)