Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Cleaning /var/cache/apt the clean way

Tags: varcacheapt

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



This post first appeared on Arhuman's, please read the originial post: here

Share the post

Cleaning /var/cache/apt the clean way

×

Subscribe to Arhuman's

Get updates delivered right to your inbox!

Thank you for your subscription

×