[PlanetCCRMA] dist-upgrade question

Joe Hartley jh@brainiac.com
Fri Feb 20 10:52:01 2004


On 20 Feb 2004 10:05:07 -0800
tom poe <tompoe@amihost.com> wrote:
> When I tried to do the dist-upgrade command,
> $> You don't have enough space in /var/cache/apt/archives
> 
> I ran the command, df and got this:
> /dev/hda3 has 10% used /home
> /dev/hda6 has 49% used /var
> 
> Seems like I might be able to adjust the two space allocations, maybe? 
> If so, what are the options to do this? 

More important than percentages are the actual space left.  Find
that with a "df -k" command, which will give you output like this:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc1              8261692   7269020    572996  93% /

This tells me I have about half a gigabyte available in the root partition.
(I don't have a separate /var partition.)  If you have a /var partition,
it is likely to be undersized, especially if you went with the default sizes
at installation time.

One way to clear out /var is to go into /var/log (and /var/adm if it 
exists on your system and clear out old logs.  You might also clear out
/var/cache/apt/archives if you havent before, because otherwise you may 
be saving all the rpms you've ever gotten via apt.

-- 
======================================================================
       Joe Hartley - UNIX/network Consultant - jh@brainiac.com
Without deviation from the norm, "progress" is not possible. - FZappa