- close the outfile properly (thanks to kamion)
* cmdline/apt-get.cc:
- unbreak dselect-upgrade by adding a ActionGroup around it
fprintf(OutFile,"\n");
}
}
fprintf(OutFile,"\n");
}
}
// move the outfile over the real file
rename(outfile.c_str(), state.c_str());
// move the outfile over the real file
rename(outfile.c_str(), state.c_str());
if (Cache.OpenForInstall() == false || Cache.CheckDeps() == false)
return false;
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++)
// Install everything with the install flag set
pkgCache::PkgIterator I = Cache->PkgBegin();
for (;I.end() != true; I++)