Var is too full to update
failed to commit transaction due to lack of free disk space . Any idea how I can fix this without removing checkspace in pacman.conf?
About this post
- Posted
- Archived
- Score
- 12 · 100% up
- Kind
- Text
- ID
- 29hdtv
failed to commit transaction due to lack of free disk space . Any idea how I can fix this without removing checkspace in pacman.conf?
12 comments
https://wiki.archlinux.org/index.php/Pacman#Cleaning_the_package_cache
sudo find /var/cache/pacman/pkg -ctime +30 -delete
(double-check that before using, but unless I've screwed that up it should purge all saved package files older than one month, while keeping more recent ones. Change the +30 to a lower number to delete more.)
If you're not worried about reinstalling older or current packages without having to redownload, you can just "sudo rm /var/cache/pacman/pkg/*".
Thank you, does the second command not do the same as "sudo pacman -Scc" though?
Looking at the man page, yeah, it pretty much does.
All those years on Slackware and I have a tendency to revert to "generic" commands even when I don't need to...
sudo pacman -Rcc should clear all the temps in var
do you mean 'sudo pacman -Scc' ?
Also see:
paccache --helpBefore you run
pacman -Sccmake sure you don't need packages from the cache:Definitely ' sudo pacman -Scc'
Yeah! that one!