LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-24-2011, 08:46 AM   #31
mikemeadows
LQ Newbie
 
Registered: Mar 2011
Posts: 18

Original Poster
Rep: Reputation: 0

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.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-24-2011, 09:08 AM   #32
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by mikemeadows View Post
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.

Last edited by k3lt01; 07-15-2014 at 02:17 AM.
 
Old 04-24-2011, 09:09 AM   #33
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
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: ...
 
Old 04-24-2011, 09:15 AM   #34
mikemeadows
LQ Newbie
 
Registered: Mar 2011
Posts: 18

Original Poster
Rep: Reputation: 0
I've never initiated a kernel install outside of update manager except when directed to in this thread.
 
Old 04-24-2011, 09:31 AM   #35
mikemeadows
LQ Newbie
 
Registered: Mar 2011
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks k3lt01, that seems to have worked. Afterwards I did a sudo apt-get update and upgrade and I no longer get those errors.

I did run update-manager -d and no updates show up but I'll work through that later.

Thanks again ... one more question for you guys while I have you.

I know a new OS version is coming out at the end of the month. Is upgrading a good option or is everyone a clean install proponent?

Again, thanks for the help all. I hate messing with core OS files without knowing exactly what I'm doing.
 
Old 04-24-2011, 02:18 PM   #36
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
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.
 
Old 04-24-2011, 05:08 PM   #37
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora core 8 install issues. "unable to handle kernel paging request" Gangrif Fedora - Installation 7 03-12-2008 10:46 AM
madwifi install issues with kernel on FC6 alabamaman Linux - Wireless Networking 2 08-03-2007 09:47 AM
Kernel Module issues with ELF after kernel update drumvudu SUSE / openSUSE 2 01-02-2007 12:54 PM
Mandrake 8.0 Kernel Startup/RedHat 9.0 Install Filesystem Issues PSandusky Linux - Newbie 3 05-06-2004 07:50 PM
Slackware 9 install kernel issues Ayukawa Slackware 3 04-07-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration