summaryrefslogtreecommitdiff
path: root/apt-private/private-upgrade.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-09-18 17:55:44 +0200
committerMichael Vogt <mvo@debian.org>2013-09-18 17:55:44 +0200
commitfacea693b2078327b59502e663c238c50118e96a (patch)
treee0e38838817c3b0d2a63c7a1da03b699322e08d3 /apt-private/private-upgrade.cc
parent3e2d892340d42053d388bda3d50dfbee99299082 (diff)
improve the API for Upgrade()
Diffstat (limited to 'apt-private/private-upgrade.cc')
-rw-r--r--apt-private/private-upgrade.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-upgrade.cc b/apt-private/private-upgrade.cc
index 9a5286b57..6ea7c19d6 100644
--- a/apt-private/private-upgrade.cc
+++ b/apt-private/private-upgrade.cc
@@ -39,7 +39,7 @@ bool DoUpgradeWithAllowNewPackages(CommandLine &CmdL)
return false;
// Do the upgrade
- if (pkgAllUpgradeNoDelete(Cache) == false)
+ if (APT::Upgrade::Upgrade(Cache, APT::Upgrade::ALLOW_NEW_INSTALLS) == false)
{
ShowBroken(c1out,Cache,false);
return _error->Error(_("Internal error, AllUpgrade broke stuff"));