Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Anything I tried to install I get this error message:

No apport report written because MaxReports is reached already
  Errors were encountered while processing:
   linux-image-3.2.0-23-generic-pae
   linux-image-3.2.0-24-generic-pae
   linux-image-3.2.0-26-generic-pae
   linux-image-3.2.0-27-generic-pae
   linux-image-3.2.0-30-generic-pae
  E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried most of the tips people say: apt-get upgrade, apt-get -f install, apt-get update. and I've always got the same error.

share|improve this question

4 Answers 4

I had the same problem with dovecot-imapd:

 invoke-rc.d: initscript dovecot, action "start" failed.
dpkg: error processing dovecot-imapd (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 dovecot-imapd

I tried apt-get upgrade, apt-get -f install, apt-get update, apt-get clean, apt-get autoclean, and nothing worked.

Suddenly I realized dovecot-core was still installed and after I uninstalled dovecot-core it work.

So Always check for other dependencies :)

share|improve this answer

i had this issue due to the fact that Boot partition was full

check via

df -h

I free up by removed old kernels

dpkg -l | grep linux-headers-*


sudo dpkg --remove linux-headers-3.5.0-28*

and the image:

sudo dpkg --remove linux-image-3.5.0-28*

Make sure you keep you last two kernels uname -a (well at least the last one but for extra safety last two make sure you set the * right)

share|improve this answer

With the help of a fellow from lauchpad, I found the solution for my problem. It was related with edition problems of grub.cfg Here is the complete discussion at lauchpad. And the direct link to the solution is here. Well, of course the grub.cfg varies from user to user and so its possible editing errors.

share|improve this answer

Try:

sudo apt-get clean

sudo apt-get autoclean

then try again.

Hope it works.

share|improve this answer
1  
could you please explain what they are and what they will do to help the OP problem. –  AgentCool Apr 1 '13 at 13:15
1  
If the packages are corrupt, they would cause this error of not being able to install, so if we got rid of the bad packages and re-downloaded them, then it should then work when you re-download them. Basicly, it gets rid of the packages in cache. –  user133987 Apr 1 '13 at 13:18
    
thank @user133987 but unfortunately it didn't work –  ziulfer Apr 1 '13 at 14:18

Your Answer

 
discard

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.