For your future reference. Don't run commands that you don't understand. I know, some people think it is cool to give instructions in a bunch of incomprehensible gibberish and tell you to just cut and paste. But I try to explain them a little bit if I am giving them and ask for explanations or google them up if I am given them. The easiest and safest thing to do (which may not seem as cool to cli people) is to find these packages in synaptic and delete them. Synaptic is an excellent gui-package manager. You can install it with
Code:
sudo apt-get isntall synaptic
or install it via the software centre.
Once installed you just open it, search for "linux" from the "installed" section to find all the Linux images and the corresponding headers with a green box next to each. Then click to uninstall all of them (images and headers) except the ones that you want to keep (say the two latest ones), and click apply. Then you are done.
P.S just to drive home the point some guy on another thread just has his whole system blown away by trying to uninstall wine with
Code:
sudo apt-get remove wine*
The "*" happens to be a regular expression in apt, not a wild card like it is used in other context. He could have avoided a painful reinstall had he looked it up first or just used synaptic (or ran it without the *, and use autoremove instead)
Bookmarks