Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

here is sudo apt-get install ending now with:

Trigger for initramfs-tools are processing ...

update-initramfs: Generating /boot/initrd.img-3.5.0-19-generic

... then here comes this:

failure while processing:


E: Sub-process /usr/bin/dpkg returned an error code (1)

what shall I do to iron this in 12.10 ?

share|improve this question

First try running the following command:

sudo apt-get remove --purge postfix

This will completely uninstall the postfix package. If this does not fix your problem, try running the following commands:

sudo dpkg --configure -a
sudo apt-get install -f

These commands will attempt to fix any broken packages on your system.

share|improve this answer

Your Answer


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.