Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I ask because Ubuntu Tweak's Janitor is frozen due to the sheer number of packages in the cache that accumulated during the upgrade from 12.10 to 13.04.

share|improve this question

2 Answers 2

up vote 50 down vote accepted

sudo apt-get clean will do what you want, though it does seem odd that it would freeze based on the amount of packages in the cache.

share|improve this answer
OP has been having quite a few other issues as well.. –  user25656 Apr 26 '13 at 4:37
Just happened to me on 14.04. Ubuntu Tweaks frozen on package 2236... oh well. Nice thing having askubuntu around. –  Rmano May 21 at 15:54

While I could use the terminal to perform this, I'd prefer the GUI.

In Synaptic Install synaptic, go to SettingsPreferencesFile tab. Choose only delete packages that are no longer available and you're done.

You can also use Ubuntu Tweak, but it takes much longer to do the job.

An update - I've been using BleachBit for some time and the Superuser version lets delete the apt-cache and a lot more.

share|improve this answer
This is a comment stating your preferences, not an answer to the question explicitly asking to clean from the commandline. Please do not abuse answer fields for comments not answering the question. –  Anthon Aug 21 at 7:26
My read of the question was that the poser tried to use a buggy GUI to begin with and is looking for alternatives, the object being clearing the apt-cache. This is not 'abuse'. –  Christopher Aug 22 at 12:24

protected by Eric Carvalho Aug 21 at 12:01

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.