I ran these commands when my system drive was running out of space:
find ~/.cache/ -type f -atime +100 -delete
journalctl --vacuum-size=50M
journalctl --vacuum-time=2weeks
from System Maintenance - Manjaro
pamac remove -o
pamac clean
from Pamac - Manjaro
I think I ran most of these commands:
sudo pacman -Sc
sudo pacman -Qdt
sudo pacman -Rns $(pacman -Qtdq)
#Remove orphaned libraries
pamac remove --orphans
#clean cache
pamac clean --build-files
# Clean kioexec cache
rm --recursive ~/.cache/kioexec/krun/*
# Vacuum journals
sudo journalctl --vacuum-size=500M && sudo journalctl --vacuum-time=7d
# Remove all uninstalled packages
sudo paccache -rvuk0
# Remove old installed packages, leave 3
sudo paccache -rvk3
# Clean yay cache
yay -Sc -a
# Clean pamac build cache
pamac clean -bv
# Clean temporary build files
rm -rf ~/{.bundle,.cargo,.cmake,.dotnet,.electron,.electron-gyp,.gem,.gradle,.lazarus,.node-gyp,.npm,.nuget,.nvm,.racket,.rustup,.stack,.yarn} || true
rm -rf ~/.cache/{electron,electron-builder,go-build,node-gyp,pip,yarn} || true
sudo rm -rf ~/go || true
# Find files not owned by any package
sudo lostfiles
from Cleaning up and freeing disk space - #31 by Yochanan
Could any of these commands have caused the problem?