[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919982: apt-setup: preseeded installation hangs at "Use a network mirror?"



On Mon, Jan 21, 2019 at 10:50:31PM +0100, Lucas Nussbaum wrote:
> On 21/01/19 at 10:55 +0100, Lucas Nussbaum wrote:
> > Package: apt-setup
> > Severity: normal
[..]
> With debian-buster-DI-alpha4-amd64-netinst.iso, the installer asks
> questions about language, location, keyboard, hostname, and domainname,
> but then proceeds until the end of the installation (which is expected).
> 
> With the current debian-testing-amd64-netinst.iso, the installer asks
> the same questions, proceeds with the installation, but then, near the
> end, asks the 'Use a network mirror?' question as described in this bug.

I'm pretty sure that this is due to the Debian Edu related changes to 
debian-cd, see: 
https://salsa.debian.org/images-team/debian-cd/commit/15b482d49e642e21e983dba27a47b4fc2d8b90b4 
We proposed/did those to be able to have a BD ISO image with COMPLETE=0 
(for the image to be small enough) with 'bluray/not_complete' instead of 
'not_complete' written to $CDDIR/.disk/cd_type (the default for the 
COMPLETE=0 case). The patch had been taken from the former Debian Edu CD 
build system; obviously some more thinking about the compliance with the 
more general case would have been good, sorry.

I guess the following change could amend things:

diff --git a/tools/start_new_disc b/tools/start_new_disc
index 0b64a7e..83838d1 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -212,11 +212,7 @@ if [ $DISKNUM = 1 ] ; then
                 echo "bluray/not_complete" > $CDDIR/.disk/cd_type
             fi
         else
-            if [ "$MAXCDS"x = "1"x ]; then
-                echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
-            else
-                echo "cd/not_complete" > $CDDIR/.disk/cd_type
-            fi
+            echo "not_complete" > $CDDIR/.disk/cd_type
         fi
     fi

Please check.

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: