I have this embarrassing issue that during
$ sudo apt-get upgrade
the disk runs out of space.
I would free some space, however, after removing a few files (based on How do I clear up disk space after it’s full?), I realized I have to remove some packages to free space (because nothing else really takes up much space at all in my workspace). I can’t however run
$ sudo apt-get remove package
because apt is left with missing dependencies after the failed run of
upgrade and keeps telling me to fix my dependencies first what again fails because I’m out of disk space and I’m stuck here.
Any ideas how I can save myself from here?
Related: my ubuntu installation seems to require quite some disk space for packages and functionality I never use on cloud9 (the apt-get upgrade resulted in the installation of chromium-browser). Is there a way to keep my os packages updated and lean in order to stay within the disk space limits long-term?