diff options
Diffstat (limited to 'apt-private/private-upgrade.cc')
-rw-r--r-- | apt-private/private-upgrade.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-private/private-upgrade.cc b/apt-private/private-upgrade.cc index d13a6af49..4e0197a3f 100644 --- a/apt-private/private-upgrade.cc +++ b/apt-private/private-upgrade.cc @@ -19,10 +19,13 @@ static bool UpgradeHelper(CommandLine &CmdL, int UpgradeFlags) { CacheFile Cache; + std::vector<char const *> VolatileCmdL; + Cache.GetSourceList()->AddVolatileFiles(CmdL, &VolatileCmdL); + if (Cache.OpenForInstall() == false || Cache.CheckDeps() == false) return false; - if(!DoCacheManipulationFromCommandLine(CmdL, Cache, UpgradeFlags)) + if(!DoCacheManipulationFromCommandLine(CmdL, VolatileCmdL, Cache, UpgradeFlags)) return false; return InstallPackages(Cache,true); |