my Ubuntu 12.04 update to 3.2.0-38 PAE had crashed and system would not boot to that version.
I booted from 'previous linux versions' (3.2.0-37)
then I tried '
sudo apt-get install -f' in terminal.
however, the following error was the result.
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-39_3.2.0-39.62_all.deb (--unpack): unable to create `/usr/src/linux-headers-3.2.0-39/arch/alpha/include/asm/irqflags.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-39/arch/alpha/include/asm/irqflags.h'): No space left on device No apport report written because MaxReports is reached already dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package linux-headers-3.2.0-39-generic-pae. Unpacking linux-headers-3.2.0-39-generic-pae (from .../linux-headers-3.2.0-39-generic-pae_3.2.0-39.62_i386.deb) ... dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-39-generic-pae_3.2.0-39.62_i386.deb (--unpack): unable to create `/usr/src/linux-headers-3.2.0-39-generic-pae/include/config/dlci.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-39-generic-pae/include/config/dlci.h'): No space left on device No apport report written because MaxReports is reached already dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/linux-headers-3.2.0-39_3.2.0-39.62_all.deb /var/cache/apt/archives/linux-headers-3.2.0-39-generic-pae_3.2.0-39.62_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)