arsus5478@lemmy.ml to Linux@lemmy.ml · 20 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-square12linkfedilinkarrow-up115arrow-down10file-text
arrow-up115arrow-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 · 20 hours agomessage-square12linkfedilinkfile-text
minus-squaredb2@lemmy.worldlinkfedilinkarrow-up3arrow-down15·19 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·18 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·17 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-up3·11 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-squareGravitywell@sh.itjust.workslinkfedilinkarrow-up1·12 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-up1·12 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.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.