[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What temporary space does aptitude use?

On 30/03/11 17:16, Sven Joachim wrote:
On 2011-03-30 16:58 +0200, Hendrik Boom wrote:

When aptitude is upgrading a system, it first downloads a whole lot of
packages into cache, and then installs them.  This means there has to be
enough disk spoace somewhere for both the old system and the downloaded

I need to ensure that I reserve enough space for the lenny->squeeze

In which file system does it place this probably huge cache?

The downloaded debs are stored in /var/cache/apt/archives by default,
you can change that location via apt's Dir::Cache::archives
configuration variable (see apt.conf(5) for details).

Is there other temporary space usage I need to watch out for?

You need to ensure that the root partition has enough space for both the
old and the new kernel (an amd64 kernel with all its modules requires
~100 MiB of disk space).  Note that you have to clean up old unused
kernels manually, they are never autoremoved.

Or the /boot partition, if you have a separate partition for that filesystem (I do, on one system - I frequently found that 16MB wasn't big enough).


Reply to: