[ubuntu-uk] Unwanted kernels .....

Alan Pope alan at popey.com
Fri Aug 15 13:45:17 UTC 2014


On 15 August 2014 14:09, Colin Law <clanlaw at gmail.com> wrote:
> On 15 August 2014 13:55, Colin Law <clanlaw at gmail.com> wrote:
>> On 15 August 2014 13:46, Alan Lord <alanslists at gmail.com> wrote:
>> ..
>>> Here's a very neat bash command that I stick in ~/bin for this very purpose:
>>>
>>> http://www.tolaris.com/2012/07/19/removing-old-kernels-from-ubuntu/
>>
>> That only removed one kernel for me (I have lots more).
>>
>
> And the reason seems to be that dpkg -l linux* shows loads of packages
> that are not actually installed.  What is that all about?
>

dpkg -l linux-image* | grep ^ii

That'll show only those installed (line starts with ii)

Cheers,
Al.



More information about the ubuntu-uk mailing list