MAJ apt : Automatic removal of debs after install

Bonjour à tous,

Il y a eu récemment une mise à jour de apt en Sid qui donne lieu à un changement de configuration. Je cite :

[quote=“Michael Vogt”]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
"APT::Keep-Downloaded-Packages" to “true”. E.g:

echo ‘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.

[ Compressed indices ]
If you use Acquire::gzipIndexes, or any other compressed index targets,
those will now be compressed with the fastest supported algorithm,
currently lz4.

– Michael Vogt mvo@debian.org Tue, 05 Jan 2016 19:22:16 +0100[/quote]

Je ne comprends pas. Les paquets .deb sont-ils gardés en cache ou non ?

Merci pour vos éclaircissements.

A+
Duna

Salut,
ça va dépendre si c’est apt ou apt-get qui est utilisé.

debian-handbook.info/browse/fr- … t-get.html

APT va utiliser le parametre APT::Keep-Downloaded-Packages, APT-GET n’utilise pas ce parametre

Aaaah ! C’est bien plus clair comme ça ! Merci pour ta réponse :slightly_smiling: