Contents
How do I free up space on my VAR?
Clear all files unless the crashes are recent and investigation is required. /var/nsinstall – Firmware is placed in this directory when upgrading. Clear all files, except the firmware that is currently being used. For more help on deleting files see FreeBSD Man Pages. Delete the files which are not required.
Can var cache be cleared?
Unlike /var/spool , the cached files can be deleted without data loss. Files located under /var/cache may be expired in an application specific manner, by the system administrator, or both. The application must always be able to recover from manual deletion of these files (generally because of a disk space shortage).
Why do I not have enough space in / var / cache / apt / archives?
You don’t have enough free space in /var/cache/apt/archives/. The other answers here are valid, but this fresh image had no significant previous packages for removal, so removing them didn’t help. this will expand the root filesystem to use the entire sd card.
How to free up space in / var?
The Debian guides have a few tips for how to free up space, which were a good starting point, after which I had to go a bit further to figure out what exactly was taking up all the space in /var. The first steps are to clear unused packages via sudo apt-get autoremove, and remove old install files from the package cache via sudo apt-get clean.
Why does apt not have enough free space?
However, when running sudo apt full-upgrade to complete the main part of the operating system update, the process failed with the message: E: You don’t have enough free space in /var/cache/apt/archives/.
What to do if you don’t have enough free space?
I was able to run sudo apt update to fetch the latest list of available packages, and sudo apt-get upgrade to upgrade packages that didn’t require other packages to be removed or installed.