Cleaning the home cache in Arch and Arch derivatives

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Cleaning the home cache in Arch and Arch derivatives

Postby viking60 » 17 Aug 2020, 11:16

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.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Tips & Tricks”