I want a script to clean my system.
- Clean unused dependencies.
- Clean apt-cache.
- Clean residual-config files.
- Remove broken packages.
- Only keep the latest version of packages and remove other. Specially linux-kernel.
And all that you think that the script should contain. Please guide me. Ubuntu 12.04 with Kernel 3.2.xxxx I exactly don't know.