OK, TIL (Today I Learned):

If "apt install" tells you "after this installation, XX GB additional disk space will be used" – that means that YOU SHOULD LOOK if that's available. Because, APT DOES NOT – it simply … well, stops working when the disk is full 🤦‍♂️

Have fun then cleaning up. Glad I ran a Timeshift backup immediately before…

(EDIT: it was `apt` in my case, not `apt-get`. But such a thing simply should not happen at all.)

#Debian #apt

This entry was edited (1 hour ago)
in reply to Samantaz Fox

@SamantazFox So did I, which is why I didn't check. But then, who'd have thought installing a graphics driver would require more than half of the system partition (here: I tried to install ROCm/AMDGPU on a test machine, which required "25 GB (!!) additional disk space)…

Checking disk space must be complicated. Package dependencies are easier… 🙊 💨

in reply to nachtpfoetchen2️⃣

@nachtpfoetchen exactly the point here. But then I'd expect the tool (apt) to consider the worst case: all of those going to the smallest place. If that's not clear at that point, ASK: "your root partition just has BB GB free. You're sure that fits?" That way, one would at least have an indicator.

I mean, the usual places stuff goes to is either below /usr, /var, /boot, or (some cases) /opt (ignoring the few bytes for /etc here). Check where those are, check matched partitions. @SamantazFox