Re: Bug#152734: apt: check whether there's enough space for the downloaded packages seems to check the wrong partition
On Fri, 12 Jul 2002, Adrian Bunk wrote:
> # df -k
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda5 3027366 2147008 726538 75% /
> /dev/hda1 1011692 47 960239 1% /tmp
> /dev/hda6 2821784 2561738 116668 96% /home
> /dev/hda7 1928598 1792016 38588 98% /var
> # apt-get --purge dist-upgrade
> ...
> 268 packages upgraded, 18 newly installed, 1 to remove and 0 not upgraded.
> Need to get 92.5MB/94.0MB of archives. After unpacking 7234kB will be used.
> Do you want to continue? [Y/n]
>
> I would have expected to get the error message that there's not enough
> free space on /var.
It does statfs in /var/cache/apt/archives/. maybe you have a symlink. It
certainly works for everone else.
Jason
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: