On Sun, 19 Jul 2009 12:19:56 +0200 Francesco Poli (t1000) wrote: [...] > I think autoclean should remove packages which > can no longer be downloaded, *unless* they are still installed on > the system. > > This wishlist bug is somewhat related to bug #340444, but not > really the same (since it seems that several different suggestions > were sent to #340444,).
I've just discovered (thanks to message #25 to bug report #340444) the APT configuration option APT::Clean-Installed. After performing a few simple tests in a chroot environment, I can say that creating the following file: $ cat /etc/apt/apt.conf.d/99cleaninstall APT::Clean-Installed "false"; really seems to make "aptitude autoclean" behave like I would like it to. I read in apt.conf(5) man page that the default value for this option is "true". I think it would be safest to have a "false" default value for such an option. Maybe this wishlist bug should be reassigned to apt and converted into the request to let libapt default to APT::Clean-Installed "false", when no explicit setting is found for this option. What do you think? -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpmLxepyJ0xq.pgp
Description: PGP signature

