[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977477: release-notes: Update apt upgrade guidance (Was: Re: Bug#977477: apt: Adding progression indication to apt-get output)



Hi Samuel, all

On 17-03-2021 19:40, Samuel Thibault wrote:
> Paul Gevers, le mer. 17 mars 2021 19:38:16 +0100, a ecrit:
>>> "apt upgrade --without-new-pkgs"
>>
>> Looking into history, I see we did this because of
>> https://bugs.debian.org/931637. I guess your suggestion is a better
>> alternative?
> 
> It would probably fill both the objective of upgrading without new
> packages, and letting users have a progression bar, yes.

Sanity check, does the attached patch do what you mean? (I put Samuel as
the author, to give the credits).

Paul
From baef5aa4289ee025751391601200939c6e7482df Mon Sep 17 00:00:00 2001
From: Samuel Thibault <sthibault@debian.org>
Date: Thu, 18 Mar 2021 11:59:14 +0100
Subject: [PATCH] en/upgrading.dbk: also use apt (but with options) during
 minimal upgrade

Closes: #977477
---
 en/upgrading.dbk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/en/upgrading.dbk b/en/upgrading.dbk
index 4fab1c40..da12d99d 100644
--- a/en/upgrading.dbk
+++ b/en/upgrading.dbk
@@ -969,7 +969,7 @@ E: You don't have enough free space in /var/cache/apt/archives/.
       To do this, first run:
     </para>
     <screen>
-# apt-get upgrade
+# apt upgrade --without-new-pkgs
     </screen>
     <para>
       This has the effect of upgrading those packages which can be upgraded without
-- 
2.30.2

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: