I have read every thread I could find -- even the ones that say that the question has been answered elsewhere but none of them address the specific issue I am having. Update Manager ran and produced errors relating to unmet dependency and suggested using apt-get install -f which fails with this message:
Unpacking linux-headers-3.5.0-36 (from .../linux-headers-3.5.0-36_3.5.0-36.57~precise1_all.deb) ... dpkg: error processing /var/cache/apt/archives/linux-headers-3.5.0-36_3.5.0-36.57~precise1_all.deb (--unpack): unable to create `/usr/src/linux-headers-3.5.0-36/arch/arm/mach-iop32x/include/mach/glantank.h.dpkg-new' (while processing `./usr/src/linux-headers-3.5.0-36/arch/arm/mach-iop32x/include/mach/glantank.h'): No space left on device
I suspect that the last 5 words No space left on device are significant but df and du both show adequate space. So I am wondering, what device needs more space?
Filesystem Size Used Avail Use% Mounted on /dev/sda1 5.5G 4.4G 786M 86% / udev 996M 4.0K 996M 1% /dev tmpfs 402M 880K 401M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1004M 156K 1004M 1% /run/shm /dev/sdb1 30G 1.4G 27G 5% /home /dev/sdc1 299G 31G 268G 11% /media/HD-PCTU2
df -hand (ii) the output of
mount. dpkg will clean up the files after it finished working, so it might appear that you have enough space when in fact you don't. Consider running
apt-get cleanbefore you start dpkg.
watch -n 1 df -hin a terminal while doing the
apt-get install(it will slow down a bit you i/o but you will know which file system is too small)