[NBLUG/talk] Disk cleanup

troy fryman at sonic.net
Wed Jan 28 14:16:01 PST 2004


On Tue, Jan 27, 2004 at 04:46:12PM -0800, Bill Kendrick wrote:
> If you happen to be using Debian, I learned a neat trick the other day.
> apt-get install debfoster, and then run it.


See also deborphan:
Description: Find orphaned libraries
  deborphan finds "orphaned" packages on your system.
  It determines which packages have no other packages
  depending on their installation, and shows you a list of
  these packages. It is most useful when finding libraries,
  but it can be used on packages in all sections.

Also check out aptitude, an alternative to apt-get which handles
Suggests, Recommends and Depends nicely.  If package foo Suggests
packages bar and baz, then aptitude will remove all three if you choose
to later remove foo.

Running 'aptitude' by itself brings up a curses interface
(which I rarely use) but its command line interface should be very
familiar to apt-get users:
aptitude update
aptitude upgrade
aptitude install foo
aptitude remove foo

Plus, from the Description:
 aptitude is also Y2K-compliant, non-fattening, naturally cleansing,
 and housebroken.
 
Housebroken package management tools are a *must* as far as I'm
concerned.  :)

-troy




More information about the talk mailing list