Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: coyotl on 20 April 2022, 21:51:30

Title: disk space error when upgrading, moving package directory did not work SOLVED
Post by: coyotl on 20 April 2022, 21:51:30
I made a rather small partition, and when comitting upgrade in Pamac get the error run out of space on drive.
So I moved the pkg directory in pacman.conf  to the home folder which has ample space.

SOLVED  I had simply not checked and turns out I needed to weed out some old home directories after saving some files. These add a surprising amount of hidden bloat and the partition is not huge to begin with.. 
Title: Re: disk space error when upgrading, moving package directory did not work SOLVED
Post by: tintin on 21 April 2022, 04:38:26
And you have to remember to clean the pacman cache from time to time :
Code: [Select]
sudo pacman -Scc
Title: Re: disk space error when upgrading, moving package directory did not work SOLVED
Post by: cat herders of linux on 21 April 2022, 14:25:06
I made a rather small partition, and when comitting upgrade in Pamac get the error run out of space on drive.
So I moved the pkg directory in pacman.conf  to the home folder which has ample space.

SOLVED  I had simply not checked and turns out I needed to weed out some old home directories after saving some files. These add a surprising amount of hidden bloat and the partition is not huge to begin with.. 


You can edit makpkg.conf to build packages it ram in tmpfs and you don't wear your ssd/HDD and cache takes care of itself on shutdown?
Title: Re: disk space error when upgrading, moving package directory did not work SOLVED
Post by: coyotl on 21 April 2022, 22:15:14
Thanks! The cache can also be emptied the GUI way in Pamac..
I ran a search but could not locate makpkg.conf - I have little experience maintaining an Arch/Artix system.
Title: Re: disk space error when upgrading, moving package directory did not work SOLVED
Post by: cat herders of linux on 21 April 2022, 23:35:20
/etc/makepkg.conf
Title: Re: disk space error when upgrading, moving package directory did not work SOLVED
Post by: coyotl on 09 May 2022, 18:18:38
Thanks, that's so much faster too. Found the option in the file.