#435769 debian-installer: no checking for sufficient disk space

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Frédéric Brière
Date:
2022-06-23 09:27:02 UTC
Severity:
normal
Tags:
Blocked By:
Bug Title
130550

  0

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

wishlist stable testing unstable over 15 years ago

#435769#5
Date:
2007-08-03 02:47:32 UTC
From:
To:
d-i does not appear to make sure that the partitioning scheme it has
been given allows for sufficient space.  This was made painfully obvious
when I screwed up and allocated 15 MiB to /+/usr+/var (instead of
15 GiB, silly me) and d-i gleefully proceeded to choke on this.

For the curious, this results in a lot of misleading "/pool/.../foo.deb
is corrupt" messages, which lead me to suspect I had a bad CD.  (That
message in itself is a bug IMO, but I'm not sure if it's worth opening
another just for that.)

#435769#10
Date:
2007-08-03 05:55:47 UTC
From:
To:
Quoting Frédéric Brière (fbriere@fbriere.net):


Hmm, that would require knowing what exactly the user wants to
install..

Indeed, at least checking that the base system will fit before running
base-installer would be something to do. However, there is currently
no way to really know what the size of a Debian base system is because
it depends on what packages are part of it.

We could however have some hardcoded value somewhere for /, /usr and
/var and have partman choke if one of these is below this value. But,
even this is not that trivial to implement.

This, that bug could be reassigned to some partman-* package.


For something that warns users that the partitioning scheme does not
fit the choice of packages, see #282155 which no-one has been able to
implement (here again, the size of an installed system depend on the
user's choices).

#435769#15
Date:
2008-06-10 16:14:13 UTC
From:
To:
Le vendredi 3 août 2007 07:55:47 Christian Perrier, vous avez écrit :

Hi,

I'm reacting on this bug because I thought that the latest installer had many
other issues because of this bug:

I tried to install Lenny Beta2 amd64 KDE within KVM, providing an disk image
of 2G. The installer failed to complete the install of the packages because
of lacking space (but did not mention anything to me).

I see two problems here:

* Not checking that enough disk space is available
* Not mentioning the user that he lacks space.

The second can rather easily be correcting by mentioning the fact after the
error triggers (just check df). With that in hands, the user can know that
the partitioning scheme he has chosen (or the virtual image he provided) is
not good.

For the moment, the message is just "there is an error", which is not
sufficient to me.

Regards,

Didier

#435769#22
Date:
2011-01-02 11:02:43 UTC
From:
To:
I fully agree with Didier's comment. Same thing just happened to me with Lenny
installer. I suggest that the installer should do "aptitude clean" when
available space becomes low.

#435769#33
Date:
2022-06-23 09:23:00 UTC
From:
To:
Hello,

I am contacting you for a possible partnership to transfer US$25,
000,000.00 to your country for investment under your assistance. Your
sincere cooperation is anticipated and I will furnish you with the details,
upon receipt of your response to this email address: jjj.joshua@yandex.com

My regards,

John Joshua.