Is there any difference between the two that I might be missing? apt.clean appears to delete the same files as apt.autoclean which invokes apt-get autoclean.
clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/
autoclean
Like clean, autoclean clears out the local repository of retrieved package files. The difference is that it only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control.
BleachBit directly invokes apt-get for autoclean, and to do a clean, BleachBit deletes .deb files in two folders.
andrew
Wed, 08/27/2014 - 20:34
Permalink
apt clean vs apt auto clean
apt autoclean is a subset of apt clean
from the apt-get manual
clean
clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/
autoclean
Like clean, autoclean clears out the local repository of retrieved package files. The difference is that it only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control.
BleachBit directly invokes apt-get for autoclean, and to do a clean, BleachBit deletes .deb files in two folders.
---
Andrew, lead developer