From time to time I update my Debian by running:
aptitude update && aptitude full-upgrade
Recently I forgot to run
aptitude clean and
aptitude downloaded over 3.5GB of updates out of 4GB total and stopped downloading rest of packages because
/ partition ran out of free space.
user@host:~# aptitude clean && df -h /var/cache/apt/archives/ Filesystem Size Used Avail Use% Mounted on /dev/sda8 7.3G 2.5G 4.4G 36% /
- Is there any way I can install 3.5GB of downloaded packages without need to run
aptitude cleanand redownloading them? How?
I guess that some of the downloaded packages may depend on the packages that were not downloaded, so I would like to install only those that were downloaded with all of their dependencies.
- What is recommended size of the partition holding
/var/cache/apt/archives/? Consider two variants of partitioning scheme: with and without separate
* As a side note: estimating size of the partitions was always troublesome for me – see this thread to learn why 1GB or even 3GB for
/tmp partition may be not enough.