summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-06-24 09:36:22 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-06-24 09:36:22 +0000
commit80fa0d8a1a77f4dab696dcf11d1908ecda761fab (patch)
tree05da7a74ad98dabd48c5ea94cfb6f241d4c83bcb /cmdline
parenta83d884db24933000f19dbff706529db057d50c1 (diff)
* moved most of the real work into depcache::writeStateFile
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 9f9ecd375..bc8cd1ae5 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -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);