This question is an exact duplicate of:

After trying to execute the command apt upgrade from the terminal, I received the following error:

E: You don't have enough free space in /var/cache/apt/archives/.

Not quite sure what to do about it. I also checked my disk storage to be safe, and everything is normal except my boot drive and loop0 directory, shown below:

Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sdb1            0      0       0     - /lib/live/mount/persistence/sdb1
/dev/loop0      350450 350450       0  100% /lib/live/mount/rootfs/filesystem.sq

Currently trying to use cfdisk command to resize disk drives to compensate.

marked as duplicate by Rui F Ribeiro, slm Jul 10 '18 at 8:10

This question was marked as an exact duplicate of an existing question.


This should be because of unused packages.

sudo apt-get autoclean

This will delete all packages not currently installed. If that doesn't free up enough space, then use

sudo apt-get clean

This will clear out all .debs downloaded and/or installed.

Or you can increase the size limit.

  • Unfortunately, neither of these accomplish the main goal of creating free space in the directory /var/cache/apt/archives/. – dan g Jul 9 '18 at 18:12
  • If you look closely at the OP fstab, while he does not say it, it is evident it is a live ISO image. – Rui F Ribeiro Jul 9 '18 at 23:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.