tails-additional-software should clean obsolete cached .deb's
Originally created by @intrigeri on #12400 (Redmine)
… otherwise obsolete packages will pile up endlessly: we’ve had to
disable apt-daily.timer
to ensure it doesn’t 1. waste RAM; 2. run at
the same time as tails-additional-software
(which would break the
latter).
I think this must be run:
- after a successful
apt-get update
(once APT knows which packages are not available anymore) - before the installation step (so that we don’t try to store all packages twice, e.g. after upgrading to 3.0)
It would be nice if this was done in time for Tails 3.0, so that Jessie packages are removed from the cache and this feature doesn’t suddenly require twice as much storage space as before on the Persistent volume.
Feature Branch: bugfix/12400-additional-software-autoclean
Related issues
- Related to #12390 (closed)