-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jul 19, 2017 at 02:51:28PM +0200, solitone wrote: > >From 'man apt-get': > > autoclean (and the auto-clean alias since 1.1) > [...] > The configuration > option APT::Clean-Installed will prevent installed packages > from being erased if it is set to off. > > I've just lost some cached package files, although they are installed, so I > want to set this option. Should I create a file in /etc/apt/apt.conf.d for > this > purpose?
Yes, that seems to be the convention. Something around echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean (of course you want to make sure that the file no-autoclean isn't there, use a different name or append with >> or something. Look first :-) Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAllvXRkACgkQBcgs9XrR2kbeVgCfUVD6Qf5tDF1fDhi0K4358EeU et8An3oDGskht/TNjSuswLdoddFW2iAL =9cml -----END PGP SIGNATURE-----