Page 1 of 1

Cleaning the home cache in Arch and Arch derivatives

Posted: 17 Aug 2020, 11:16
by viking60
I had this Laptop with Manjaro installed and I could not update because the disk was full... so there was not enough space for the upgrade. :wall:
Normally I clean the pacman cache in these situations with
sudo pacman -Scc
But that was not enough so I had a look at the /home cache.
This is done like this:

sudo du -sh ~/.cache/

..and it was 1.5 GB!!!

So time to remove it then: :tux5:
:A

Code: Select all

rm -rf ~/.cache/*


And after that my beloved pacman -Syu worked like a charm and upgraded the system.