me@mypc:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-generic-pae: Depends: linux-image-2.6.32-31-generic-pae but it is not installed
E: Unmet dependencies. Try using -f.
me@mypc:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-28-generic-pae linux-headers-2.6.32-28
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-image-2.6.32-31-generic-pae
Suggested packages:
fdutils linux-doc-2.6.32 linux-source-2.6.32 linux-tools
The following NEW packages will be installed:
linux-image-2.6.32-31-generic-pae
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/31.6MB of archives.
After this operation, 99.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 150846 files and directories currently installed.)
Unpacking linux-image-2.6.32-31-generic-pae (from .../linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb) ...
Done.
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb (--unpack):
short read in buffer_copy (backend dpkg-deb during `./boot/System.map-2.6.32-31-generic-pae')
No apport report written because the error message indicates a dpkg I/O error Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-30-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-30-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-29-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-29-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-28-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-28-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-27-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-27-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-26-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-26-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-25-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-25-generic-pae
Found linux image: /boot/vmlinuz-2.6.32-24-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-24-generic-pae
Found memtest86+ image: /memtest86+.bin
done
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.32-31-generic-pae_2.6.32-31.61_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is what I get if I try the recommended
me@mypc:~$ sudo apt-get upgrade image-generic- pae: Depends: linux-image- 2.6.32- 31-generic- pae but it is not installed headers- 2.6.32- 28-generic- pae linux-headers- 2.6.32- 28 image-2. 6.32-31- generic- pae image-2. 6.32-31- generic- pae 2.6.32- 31-generic- pae (from .../linux- image-2. 6.32-31- generic- pae_2.6. 32-31.61_ i386.deb) ... apt/archives/ linux-image- 2.6.32- 31-generic- pae_2.6. 32-31.61_ i386.deb (--unpack): System. map-2.6. 32-31-generic- pae')
Running postrm hook script /usr/sbin/ update- grub. 2.6.32- 30-generic- pae img-2.6. 32-30-generic- pae 2.6.32- 29-generic- pae img-2.6. 32-29-generic- pae 2.6.32- 28-generic- pae img-2.6. 32-28-generic- pae 2.6.32- 27-generic- pae img-2.6. 32-27-generic- pae 2.6.32- 26-generic- pae img-2.6. 32-26-generic- pae 2.6.32- 25-generic- pae img-2.6. 32-25-generic- pae 2.6.32- 24-generic- pae img-2.6. 32-24-generic- pae apt/archives/ linux-image- 2.6.32- 31-generic- pae_2.6. 32-31.61_ i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-
E: Unmet dependencies. Try using -f.
me@mypc:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-
Suggested packages:
fdutils linux-doc-2.6.32 linux-source-2.6.32 linux-tools
The following NEW packages will be installed:
linux-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/31.6MB of archives.
After this operation, 99.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 150846 files and directories currently installed.)
Unpacking linux-image-
Done.
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing /var/cache/
short read in buffer_copy (backend dpkg-deb during `./boot/
No apport report written because the error message indicates a dpkg I/O error
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /memtest86+.bin
done
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)