#509186 [Installation-Report] D-I doesn't check for available space in /var before downloading packages

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Didier Raboud
Date:
2013-08-30 15:15:11 UTC
Severity:
normal
Blocked By:
Bug Title
130550

  0

aptitude: Warn or act accordingly if low on free space.

wishlist stable testing unstable over 15 years ago

#509186#5
Date:
2008-12-19 13:01:01 UTC
From:
To:
Package: installation-reports

Boot method: netinst in kvm
Image version:
http://cdimage.debian.org/cdimage/daily-builds/daily/20081218-1/amd64/
(Downloaded with jigdo: md5sum OK)
Date: 19 december 2008

Machine: KVM emulator on a Dell Latitude D630 amd64
Processor:	QEMU Virtual CPU version 0.9.1
Memory:		MemTotal: 123648 kB
Partitions:	(image attached)
Output of lspci -knn (or lspci -nn): (image attached)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [E]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [E]
Install boot loader:    [ ]
Overall install:        [E]

Comments/Problems:

I used a 2Gb image, with encrypted LVM and automatic partitioning with
separate /home, /usr, /var, /tmp partitions.

I then choosed "Desktop environement" and "Laptop" in the tasksel.

The installation failed with a short error (attached) telling that the
step "Installation of packages" failed. Moving to another console and df'ing
and 'cat /var/log/syslog' showed that /target/var was full and thus blocked the
downloading of more packages.

I know that this can be avoided with the default choice (everything in
single / ) and these partitioning receipts are hard to make.

Eventual solutions:
* Check that the download size will fit in /var and warn about this before the
download.
* Once the error popped up, check if partitions are at 100% and mention it…

Regards,

OdyX

#509186#10
Date:
2011-01-22 17:56:37 UTC
From:
To:
Hi,

Thanks for your report.
Closing as it's an installation report from a debian installer version
which isn't supported anymore.
Feel free to test and report any issues against the current debian
installer release (Squeeze RC1) which supports more hardware and also
it's improved.
Thanks!

http://cdimage.debian.org/cdimage/squeeze_di_rc1/

#509186#15
Date:
2011-01-24 14:05:39 UTC
From:
To:
reopen 509186
retitle 509186 [Installation-Report] D-I doesn't check for available space in /var before downloading packages
thanks

Le Saturday 22 January 2011 18:56:37 Miguel Figueiredo, vous avez écrit :

Hi Miguel, and thanks for your message!

Unfortunately, this issue hasn't been solved since then, hence I am re-opening
this bug; re-title'ing it for clarity too. Please reassign to the correct d-i
component.

As for the issue, I think d-i should check for available space in /var before
launching the actual download of packages.

Cheers,

OdyX

#509186#24
Date:
2011-01-24 15:02:22 UTC
From:
To:
reassign 509186 debian-installer
forcemerge 435769 509186
block 435769 by 130550
thanks

This issue has been reported in #435769 already, although the correct
d-i component may be tasksel.
If I understand correctly, tasksel uses aptitude which apparently does
not handle low disk-space situations properly, see #130550.