I can’t upgrade Netrunner anymore because my 20GB / partition (separated from /home) is full.
While I have installed some new kinda big packages over a new install, it’s seems like a lot, especially since I think I remember having lots of space left not that long ago.
Is there some kind of cache or leftover files that could cause this?
Or if it’s normal given what I have installed, is there a way to see what is consuming what?
My usage in case it helps.
$ sudo du -sh /* | sort -h -r
du: cannot access ‘/proc/21708/task/21708/fd/3’: No such file or directory
du: cannot access ‘/proc/21708/task/21708/fdinfo/3’: No such file or directory
du: cannot access ‘/proc/21708/fd/3’: No such file or directory
du: cannot access ‘/proc/21708/fdinfo/3’: No such file or directory
du: cannot access ‘/run/user/1000/gvfs’: Permission denied
You could have a look at the pacman cache in /var/cache/pacman/pkg/ which keeps around all the packages you have ever downloaded. It is good to clean it every now and then and from your list it seems /var is quite big.
However, it will remove all packages downloaded except that latest one that is installed, so be sure you don’t need to downgrade any package.
Yep same here smaller / and separate /home. And always started to get down to less than 1gb. The secret for me was clean out and delete everything in root var/cache/pacman folder. That is where the download packages go. And fine to delete them once the upgrade is completed. As they are not automatically deleted after upgrades.