If the root directory is tight and
apt-upgrade
is giving you:
E: You don't have enough free space in /var/cache/apt/archives/
then you can move apt's cache somewhere else:
mv /var/cache/apt/ /home
ln -s /home/apt/ /var/cache/apt
later undo with:
--------------------------------------------------------
various housekeeping things
apt clean
apt autoremove
journalctl --rotate
journalctl --vacuum-time=1s
remove old logs
find /var/log -mtime +2 -type f -delete
rm /var/cache/locate/locatedb
-------------------------------------------------------
other things that may help actually squeeze the root filesystem