UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by mikemeadows
When I attempt to remove the offending kernel I get the following error:
E: linux-image-2.6.35-28-generic: subprocess installed post-removal script returned error exit status 1
it is now marked in red in Synaptic.
Available Kernels in grub are -27 & -22.
I thought this could be the case.
OK, this can be risky so if you do it you do it at your own risk. I cannot and will not take responsibility if this fails and breaks your system. It has worked for me but I can;t promise it will work for you.
The issue seems to be a script has an error in it
If your up to it try this
Code:
sudo nautilus
This will open Naultilus and you can navigate to the /var/lib/dpkg/info folder as root. PLEASE BE VERY CAREFULL doing anything as root. In that folder you will see files and you will need to locate the kernel file (check my screenshot but make sure you look for the name not how it looks) with something like "linux-image-2.6.35.28.postrm" as the name. Delete that file (only the the Trash) and then close everything that is open. Now go to Synaptic and try to delete that kernel again.
If you do this, remember its at your own risk, let us know how you go.
It's now past midnight I have got to get some sleep. I'll check after I wake up to see how you went.
Mike,
As k3lt01 asked, how is it that you are trying to install a 32 bit kernel on 64 bit Ubuntu?
I have never used 64 bit Ubuntu, so I do not know why this would happen.
BTW, good pickup there k3lt01 !!
I did not notice that Mike was running 64 bit Ubuntu and trying to install a 32 bit kernel.
EDIT: Since k3lt01 responded while I was posting this, just follow his advice there.
Last edited by tommcd; 04-24-2011 at 09:11 AM.
Reason: see EDIT: ...
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
I prefer clean installs but that's just my humble, or not so humble, opinion.
Glad the fix worked for you. I've just woken up, after less than 5 hours sleep so I'll be going off again in a minute I think, and thought I'd come in to makes sure you were ok.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
I do upgrades to a new version on occasion, particularly if there is a problem with install media, but do not use Update Mangler for anything.
That includes normal update/upgrades of packages. I do not trust that bugger at all. Using your terminal with apt-get or aptitude (I like apt-get) is a safer far more informative way to go and usually quicker.
I do my version upgrades that way too. Yes the folks at Ubuntu don't "support" that route. Anyone using Ubuntu to test a pre-release version of their OS before Alpha1 has no other route to the new version. It works fine. It never has installed something for the wrong architecture yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.