on a Ubuntu 12.04 server I get this message when doing apt-get upgrade:
This is only one example, I get this with many packages.
Could not open file /var/cache/apt/archives/partial/php5-common_5.3.10-1ubuntu3.5_i386.deb - open (28: No space left on device) [IP: 22.214.171.124 80]
du -f /var tells:
So there is plenty of space.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/nas--vsnag01-root 15G 2.3G 12G 17% /
apt-get clean and then apt-get upgrade at least starts the upgrade otherwise I get the error with the first package.