I have installed Apt-Cacher NG to provide a cache of packages for several machines. I therefore see no point in having aptitude/apt-get keeping their own (second) cache in /var/cache/apt/archives. I realise I can empty this cache with sudo apt-get clean, but is there some way of configuring apt-get to automatically clean the cache when an install has completed?
|
| |||
|
feedback
|
|
I think what you can do is add a config file to So there is one remaining method according to this tutorial:
This will carry out rm command just before apt quits. | |||||||||
feedback
|