apt autoclean
Like clean, but only removes package files that can no longer be downloaded
Options
Name | Description |
---|---|
-d, --download-only | For any operation that would download packages, download them, but do nothing else |
--no-download | Do not download packages, attempt to use already downloaded packages |
-y | Assume yes to all prompts |
--assume-no | Assume no to all prompts |
-s, --simulate | Simulate running this command and show it's output, without actually changing anything |