arsus5478@lemmy.ml to Linux@lemmy.ml · 18 hours agomy var directory on debian 13.1 has only 500 MiB free space and I cannot update flatpak anymore. How do I solve this?message-squaremessage-square13fedilinkarrow-up114arrow-down10file-text
arrow-up114arrow-down1message-squaremy var directory on debian 13.1 has only 500 MiB free space and I cannot update flatpak anymore. How do I solve this?arsus5478@lemmy.ml to Linux@lemmy.ml · 18 hours agomessage-square13fedilinkfile-text
minus-squaredb2@lemmy.worldlinkfedilinkarrow-up2arrow-down14·18 hours agodd if=/dev/zero of=/var But really, remove what you don’t use and/or stop using flatpak.
minus-squaredata1701d (He/Him)@startrek.websitelinkfedilinkEnglisharrow-up13·17 hours agoFYI Don’t use this command. I think it was intended as a joke, but I just want to clarify.
minus-squaredb2@lemmy.worldlinkfedilinkarrow-up2arrow-down7·16 hours agoThat’s why I didn’t include any privilege escalation, even if someone ran it as is it would fail. But a warning is also appropriate, thanks.
minus-squarebus_factor@lemmy.worldlinkfedilinkarrow-up4·9 hours agoThat doesn’t make it better. The first thing a novice user learns is to slap sudo in the front if they don’t have access to do something.
minus-squaredb2@lemmy.worldlinkfedilinkarrow-up1arrow-down1·2 hours agoNobody puts var on its own partition anymore, it would sill fail.
minus-squareGravitywell@sh.itjust.workslinkfedilinkarrow-up1·11 hours agoWouldn’t that just make a file full of zeros? I think the proper (joke) command here would be rm -rf /var/*
minus-squaredb2@lemmy.worldlinkfedilinkarrow-up1arrow-down1·10 hours agoIt would probably fail unless var was a block device actually. It wouldn’t turn a directory in to a file.
dd if=/dev/zero of=/var
But really, remove what you don’t use and/or stop using flatpak.
FYI Don’t use this command. I think it was intended as a joke, but I just want to clarify.
That’s why I didn’t include any privilege escalation, even if someone ran it as is it would fail. But a warning is also appropriate, thanks.
That doesn’t make it better.
The first thing a novice user learns is to slap
sudo
in the front if they don’t have access to do something.Nobody puts var on its own partition anymore, it would sill fail.
Wouldn’t that just make a file full of zeros?
I think the proper (joke) command here would be
rm -rf /var/*
It would probably fail unless var was a block device actually. It wouldn’t turn a directory in to a file.