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

2008-06-10 Thread Didier Raboud
Le vendredi 3 août 2007 07:55:47 Christian Perrier, vous avez écrit :
 Quoting Frédéric Brière ([EMAIL PROTECTED]):
  Package: debian-installer
  Severity: normal
 
  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

 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).

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

-- 
Didier Raboud, proud Debian user.
CH-1802 Corseaux
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.


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

2007-08-03 Thread Christian Perrier
Quoting Frédéric Brière ([EMAIL PROTECTED]):
 Package: debian-installer
 Severity: normal
 
 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


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).





signature.asc
Description: Digital signature


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

2007-08-02 Thread Frédéric Brière
Package: debian-installer
Severity: normal

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.)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]