sudo apt-get upgrade says
Need to download 105 MB in archives.
After this operation, 2.108 kB disk space will be used
E: Not enough space in /var/cache/apt/archives
(This is translated from a German system. Don't expect it to be 100% correct).
I'm using an 8 GB Micro SD Card and there should be plenty of space left. I checked with
[...] /dev/root 7.2G 6.0G 869M 88% /
I understand that 7.2G - 6.0G can be less than 1.2G, because of file system overhead.
However, I don't see why downloading 105M should be a problem.
I was able to solve the problem by freeing additional 540M from the recycle bin, but I'd still like to understand why apt-get complains about disk space when there's enough disk space left (IMHO).
Additional information that was requested:
/var and its subdirectories are on
/dev/root. It's a default Raspbian installation. I checked all of them with
df -P <dir>:
$ df -P /var [...] /dev/root 7527272 5999148 1158916 84% /