0

enter image description hereenter image description hereAnytime I install something or update Ubuntu, I notice this during the ending process in the terminal:

linux-image-3.5.0-23-generic
linux-image-extra-3.5.0-23-generic
linux-image-generic
E: Sub-process /usr/bin/dpkg returned an error code (1). 

Is there a fix for this?

6
  • Check the logs to find what is causing it. gedit /var/log/dpkg.log
    – colboynik
    Feb 6, 2013 at 5:32
  • This is the problem I believe I'm having when I used the command and text editor shows the issue I'm having: status half-configured linux-image-3.5.0-23-generic:amd64 3.5.0-23.35 Feb 11, 2013 at 2:55
  • dpkg -C will tell you what all is not configured correctly. You can try dpkg --configure linux-image-3.5.0-23-generic to try to finish the configuration.
    – colboynik
    Feb 11, 2013 at 4:15
  • I tried the commands and they did't work. I took a screenshot of it on terminal. How would I paste the photo on this page? Feb 11, 2013 at 4:46
  • Edit your question with an image block.
    – colboynik
    Feb 11, 2013 at 4:57

2 Answers 2

0

Purging those kernel packages and their configuration files, then re-installing them may solve the issue. In terminal:

sudo apt-get purge linux-image-3.5.0-23-generic linux-image-extra-3.5.0-23-generic linux-image-generic && sudo apt-get install linux-image-3.5.0-23-generic linux-image-extra-3.5.0-23-generic linux-image-generic

3
  • Still No change. Now I get a red alert icon in the taskbar in the upper right corner of my screen. If I can't find a solution, I'm going back to 12.04.I uploaded a photo above to show the results of my attempt. Feb 11, 2013 at 5:41
  • @MichaelScott try running sudo apt-get -f install or sudo dpkg --configure --pending (source)
    – ananaso
    Feb 28, 2013 at 21:46
  • Also, I would suggest checking out this question.
    – ananaso
    Feb 28, 2013 at 21:56
0

I was having a similar problem on a VirtualBox and the problem was I didn't have PAE enabled.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .