From 129662acca40d3bd212f19e94db6df9d0ba4ba80 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 16 Apr 2024 11:59:47 +0200 Subject: Show "Upgrading:" before other sections This avoids awkward interactions with Installing dependencies and Suggested packages appearing before it; despite being triggered by it. --- apt-private/private-install.cc | 4 ++-- 1 file 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); -- cgit v1.2.3-70-g09d2