X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/d428d131a29a08fa7c1d95b98b684fb2ebb554c0..3f506f684c6199a9a2bc68365732a9c00dc551c1:/apt-pkg/upgrade.cc diff --git a/apt-pkg/upgrade.cc b/apt-pkg/upgrade.cc index 84c781c61..f06f6d40d 100644 --- a/apt-pkg/upgrade.cc +++ b/apt-pkg/upgrade.cc @@ -251,7 +251,7 @@ bool APT::Upgrade::Upgrade(pkgDepCache &Cache, int mode) { return pkgAllUpgradeWithNewPackages(Cache); } - else if ((mode & ~(FORBID_REMOVE_PACKAGES|FORBID_NEW_INSTALL_PACKAGES)) == 0) + else if ((mode & ~(FORBID_REMOVE_PACKAGES|FORBID_INSTALL_NEW_PACKAGES)) == 0) { return pkgAllUpgradeNoNewPackages(Cache); }