Disk space
Derek Broughton
news at pointerstop.ca
Thu Dec 20 15:12:39 UTC 2007
Stew Schneider wrote:
> / is full. Trying to trace it down, it seems that /var is the big user
> (to no one's surprise). I observe:
...
> 11 gig of cache seems an awful lot. Can any of that be dispensed with?
>
> *root at stewart:/var# ls -l cache/
> total 80
> drwxr-xr-x 3 www-data www-data 4096 2007-08-17 16:27 apache2
The amount of space used for that should be configurable in the apache
config, somewhere.
> drwxr-xr-x 3 root root 4096 2007-12-19 00:20 apt
# sudo aptitude clean
will empty /var/cache/apt - it's probably got every .deb package you ever
installed in it. If that makes a huge difference, you need to enable
scheduled cleaning. It's a setting in /etc/apt/apt.conf.d/10periodic
# sudo aptitude autoclean
will iirc get rid of everything that you no longer need to reproduce your
existing system (ie, packages you've installed and removed, and packages
that have been superceded by a newer version).
> drwxr-xr-x 7 beagleindex nogroup 4096 2007-04-22 07:37 beagle
That could also be huge, but I don't know if it would be important to you,
or how to clean it.
I wouldn't expect any of the others to be really huge.
--
derek
More information about the kubuntu-users
mailing list