This cookbook vacuum-cleans your apt system.
Service incudes
- Cleaning up apt-cache
- Purging leftovers from removed packages
- Removing old unused kernels (for a cleaner /boot)
- Removes dependencies dragged in by already deleted packages
- Dispenses fresh perfume all over your system
See this blogpost for more information.
- Ubuntu
- Debian
Includes all other cleanup recipes
Removes all old kernels, but the most recent as well as the currenlty used one.
Runs apt-get autoremove
to remove packages not required anymore.
Purges already removed packages, to get rid of e.g. old config files.
Runs apt-get clean
to remove .dpkg
files from /var/cache/apt/archives
.
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
Author:: Chris Aumann (me@chr4.org)