Affichage des articles du juillet, 2013

Cleaning /var/cache/apt the clean way

Periodically my apt cache grows "too big" on my Debian boxes. By "too big", I mean big enough to get a notification that /var is almost full. When that happened, I had to google several times to find the right way to clean it. I found several bad solutions involving scripts, albeit the answer is really simple. So I thought I should record it somewhere, why not here :-) To clean /var/cache/apt and free some space, it's as simple as : sudo apt-get clean all