168

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.

2 Answers 2

239

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.

2
  • OP has been having quite a few other issues as well..
    – user25656
    Apr 26, 2013 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, 2015 at 15:54
3

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.

2
  • 13
    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, 2015 at 7:26
  • 14
    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'. Aug 22, 2015 at 12:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .