dist-upgrade

william drescher william at TechServSys.com
Thu Oct 9 17:51:06 UTC 2014


On 10/9/2014 8:40 AM, Patrick Asselman wrote:
> What you see are all the older kernels and their helper files
> that were once installed on the system.
> These are not automatically removed after an upgrade, because
> something might go wrong and you may want to revert to an older
> kernel.
>
> You can safely remove all older kernels if the one you are using
> now is known to be good.
> But you should do this *before* attempting the upgrade to 14.04,
> not during ;-)
>
> See for example
> http://askubuntu.com/questions/2793/how-do-i-remove-or-hide-old-kernel-versions-to-clean-up-the-boot-menu
>
>
> That scary " sudo apt-get remove --purge ..." command basically
> just checks which kernel you are using now, and then removes all
> other versions. You can also do that manually if you feel more
> confident that way.
> dpkg -l 'linux-*'       shows all the installed kernels
> uname -r                shows the kernel you are currently using

I used the "scary" script on that page and it ran fine.  When it 
got done only the current kernel was in the /boot directory.
but...
dpkg -l 'linux-*' still shows many, many linux-image-* files.
How do I tell dpkg that they are gone ?





More information about the ubuntu-users mailing list