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.

When I use the command apt-get -f install, I received the following error

dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-65-generic-pae_3.2.0-65.99_i386.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during './boot/vmlinuz-3.2.0-65-generic-pae': No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-65-generic-pae /boot/vmlinuz-3.2.0-65-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-65-generic-pae /boot/vmlinuz-3.2.0-65-generic-pae
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.2.0-65-generic-pae_3.2.0-65.99_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)"
share|improve this question
    
Please edit your question to include the output of df command. –  hmayag Jul 14 at 6:46

1 Answer 1

Run second terminal CTRL+ALT+T or go to the first console CTRL+ALT+F1 and in there type:

du ~ -h|sort -r -n|less

at the top of your screen you will see the biggest files first trough whole you /home folder and all subfolders. You can delete some files and free space. Then continue with installation with apt-get install:

  • -f fix broken packages
  • -r remove packages
  • --reinstall says for itself

or with apt-get purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).

share|improve this answer

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.