diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-21 11:00:34 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-21 11:00:34 +0200 |
commit | a4decc40b3eb085ea994d2a8b31ee9cddfd570ff (patch) | |
tree | ce380c79b925bacbe043d533fd610821e49dedd6 /cmdline | |
parent | 9a9665f96e006602950e0e32ce80cb5ee14f5e5f (diff) |
* apt-pkg/depcache.cc:
- close the outfile properly (thanks to kamion)
* cmdline/apt-get.cc:
- unbreak dselect-upgrade by adding a ActionGroup around it
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 30d046447..8b3c68573 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1771,6 +1771,8 @@ bool DoDSelectUpgrade(CommandLine &CmdL) if (Cache.OpenForInstall() == false || Cache.CheckDeps() == false) return false; + pkgDepCache::ActionGroup group(Cache); + // Install everything with the install flag set pkgCache::PkgIterator I = Cache->PkgBegin(); for (;I.end() != true; I++) |