how can I remove older kernels?

Asked by Manolis Vitsaxakis

I have a DELL with preinstalled 14.04 and when I used ¨python-mechanized¨ to produce a signature for a forum it told me that there are more than 1 kernel installed.
How can I check that and how do I remove older kernels?

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

uname -a; lsb_release -a; dpkg -l | grep linux-image | egrep -v 'extra|header'

Thanks

Revision history for this message
Manolis Vitsaxakis (mihanolis) said :
#3

The output of uname -a; lsb_release -a; dpkg -l | grep linux-image | egrep -v 'extra|header' is

Linux manolis-Dell 3.19.0-42-generic #48~14.04.1-Ubuntu SMP Fri Dec 18 10:24:49 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
ii linux-image-3.19.0-23-generic 3.19.0-23.24~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-3.19.0-27-generic 3.19.0-27.29~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-3.19.0-42-generic 3.19.0-42.48~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-generic-lts-vivid 3.19.0.42.27 amd64 Generic Linux kernel image

Revision history for this message
Manolis Vitsaxakis (mihanolis) said :
#4

Thanks Mark Rijckenberg, that solved my question.