Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using i386 architecture of Ubuntu 12.04,I downloaded latest kernel 3.12.7 from & installed it using dpkg -i. Installation was all good, but after 40-50 minutes it freezes. So, I would like to revert changes. How to uninstall the latest kernel 3.12.7 which I downloaded using dpkg command ?

Here's my `dpkg -l | grep "linux-[a-z]*-"

enter image description here

share|improve this question
up vote 0 down vote accepted

Just use apt or your favorite package manager to search and uninstall the packages.

apt-get remove packagename

Or use Software Center or Synaptic package manager and search for linux 3.12

share|improve this answer
That was simple, thanks! I have to run sudo update-grub though :) – user236329 Jan 16 '14 at 4:33

You could try using sudo apt-get --auto-remove purge linux-generic*3.12*. Please note that, although wildcards tend to work will with apt-get, they don't work too well with dpkg directly (at least, not as far as I can tell).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.