liste; Hey !
You do good work !
As to house cleaning, in That release the old kernels must be removed manually,
then using apt one can remove obsolete and orphaned files and as well clear out the cache.
Know the kernel you are booting; MUST not remove it !
get a list all all kernels installed ( images and headers):
Code:
dpkg -l | grep linux-
There exist all kinds of means to remove these kernels, the slower sure way - IF your are careful:
For an instance/example ! for each kernel installed a whole bunch of them -
Keep the current booting kernel and one other that is known to boot ( preferably the kernel version just under the booting kernel)
Code:
sudo apt-get --purge remove linux-image-3.2.0-31
sudo apt-get --purge remove linux-image-3.2.0-31-generic
sudo apt-get --purge remove linux-image-3.2.0-31-generic-pae
sudo apt-get --purge remove linux-headers-3.2.0-31
sudo apt-get --purge remove linux-headers-3.2.0-31-generic
one can get handydandy with the code and combine all of them in one command, but will not confuse the issue at this time.
then general housecleaning:
Code:
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
In 14.04 the command "autoremove" will now also remove the obsolete kernels !
Once done you are clean and up-to-date.
Every once in a while
Bookmarks