Re: getting You don't have enough free space in /var/cache/apt/archives/.
But that one says 'pi' in the first column, not 'ii'. Try ones with 'ii'.
Also dependencies can be broken if apt-get ran out of space. In that case the alternative is removing kernel files manually with rm from /boot. Be careful though, and as said never remove the current running kernel or the two newest ones. The initrd and the linux files are the biggest ones in /boot. You can ignore the rest for now... Just remove the biggest ones for each -XX- kernel versio nthat you want to remove. Once you have about 200MB free in /boot, apt-get will start working and you can continue cleaning up with apt-get.
Don't forget, this is only related to /boot. You also have to clean space on root partition, delete some of the data there.
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks