summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-04-16 11:59:47 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-04-19 20:49:05 +0200
commit129662acca40d3bd212f19e94db6df9d0ba4ba80 (patch)
treee8f4cf6311b5a1e0c0b986c3f85d59ac6bbae5ec
parentcd1183f9965692834fa237be6114db0e6b413c41 (diff)
Show "Upgrading:" before other sections
This avoids awkward interactions with Installing dependencies and Suggested packages appearing before it; despite being triggered by it.
-rw-r--r--apt-private/private-install.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 60f8efae3..9a2ed0b2a 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -227,11 +227,11 @@ bool InstallPackages(CacheFile &Cache, APT::PackageVector &HeldBackPackages, boo
// Show all the various warning indicators
if (_config->FindI("APT::Output-Version") < 30)
ShowDel(c1out,Cache);
+ if (_config->FindI("APT::Output-Version") >= 30 && _config->FindB("APT::Get::Show-Upgraded",true) == true)
+ ShowUpgraded(c1out,Cache);
ShowNew(c1out,Cache);
if (_config->FindI("APT::Output-Version") >= 30)
ShowWeakDependencies(Cache);
- if (_config->FindI("APT::Output-Version") >= 30 && _config->FindB("APT::Get::Show-Upgraded",true) == true)
- ShowUpgraded(c1out,Cache);
if (ShwKept == true)
{
ShowPhasing(c1out, Cache, PhasingPackages);