Delete old Linux Kernels
It would be nice if BleachBit could remove old Kernels which are not automatically removed with
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean
that cleans additionally several 100MB in the most cases.
Old Kernels can automatically removed with:
sudo dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Perhaps its possible to add this to BleachBit.
Thanks!
Anonymous (not verified)
Sat, 12/26/2009 - 03:25
Permalink
I think it is bad idea: 1.
I think it is bad idea:
1. Distribution depend on (apt).
2. It's system administration(or)'s task. If there is kernel (second, third..), then this is proper. I think BleachBit not tool for system administration' tasks. It is not package manager also.
etc..
andrew
Sun, 12/27/2009 - 20:02
Permalink
Perhaps
I may like to add this feature. One tricky part is making it cross-platform (BleachBit supports so many different Linux distributions).
Perhaps you could file this request at https://bugs.launchpad.net/bleachbit/ so it doesn't get lost?
---
Andrew, lead developer