]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
* moved most of the real work into depcache::writeStateFile
[apt.git] / cmdline / apt-get.cc
index 9f9ecd37524cc551f3db788e4a9389e867112302..bc8cd1ae56605cfc584ab254088425e366c1752e 100644 (file)
@@ -1703,10 +1703,8 @@ bool DoInstall(CommandLine &CmdL)
         
         if (*J == 0) {
            List += string(I.Name()) + " ";
-           // mark each pkg as auto-installed 
-           Cache[I].AutomaticRemove = pkgCache::State::RemoveRequired;
-        VersionsList += string(Cache[I].CandVersion) + "\n";
-     }
+           VersionsList += string(Cache[I].CandVersion) + "\n";
+        }
       }
       
       ShowList(c1out,_("The following extra packages will be installed:"),List,VersionsList);