On 2025-09-12 07:18:49 -0400, Greg Wooledge wrote:
Command NewPkgs RmvPkgs KeepDebs
------------------------------- ------- ------- --------
apt-get upgrade ✓
apt-get upgrade --with-new-pkgs ✓ ✓
apt upgrade ✓
apt-get dist-upgrade ✓ ✓ ✓
Is checked KeepDebs for apt-get above a typo?
/usr/share/doc/apt/NEWS.Debian.gz:
apt (1.2~exp1) experimental; urgency=medium
[ Automatic removal of debs after install ]
After packages are successfully installed by apt(8),
the corresponding .deb package files will be
removed from the /var/cache/apt/archives cache directory.
This can be changed by setting the apt configuration option
"Binary::apt::APT::Keep-Downloaded-Packages" to "true". E.g:
# echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' \
> /etc/apt/apt.conf.d/01keep-debs
Please note that the behavior of apt-get is unchanged. The
downloaded debs will be kept in the cache directory after they
are installed. To enable the behavior for other tools, you can set
"APT::Keep-Downloaded-Packages" to false.
-- Michael Vogt <m...@debian.org> Tue, 05 Jan 2016 19:22:16 +0100
apt full-upgrade ✓ ✓
On 12/09/2025 20:21, Vincent Lefevre wrote:
Such a table would have been very useful in a man page.
Or it may be added at least to e.g.
<https://wiki.debian.org/AptCLI#Keeping_your_system_up-to-date>