Debian Bug report logs - #702257
apt-setup: new preseed option to disable CDROM entries at the end of the install

version graph

Package: apt-setup; Maintainer for apt-setup is Debian Install System Team <debian-boot@lists.debian.org>;

Reported by: Raphaël Hertzog <hertzog@debian.org>

Date: Mon, 4 Mar 2013 15:30:01 UTC

Severity: wishlist

Tags: patch

Found in version 0.77

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#702257; Package apt-setup. (Mon, 04 Mar 2013 15:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphaël Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 04 Mar 2013 15:30:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Raphaël Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt-setup: new preseed option to disable CDROM entries at the end of the install
Date: Mon, 04 Mar 2013 16:27:27 +0100
[Message part 1 (text/plain, inline)]
Package: apt-setup
Version: 0.77
Severity: wishlist
Tags: patch

apt-setup keep the cdrom: entries in sources.list unless the cdrom is a
netinst. More ofthen than not, those cdrom entries are not desired:
- ISO images to install virtual machines do not want to rely on the
  ISO image down the road
- CD/DVD images are used for one-shot install and are then reused for
  other purposes.
- I also often generate custom CD imagse with automated installation for
  my customers.

As a compromise with the initial design, I suggest to add a new preseed
option to make it possible to disable those cdrom entries at the end of
the installation. This solves the issue for my third scenario above
and that's the one which matters most because there's no clear user who
can fix it afterwards.

Please find a possible patch attached. It has been tested.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
[0001-Add-new-apt-setup-disable-cdrom-entries-internal-deb.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#702257; Package apt-setup. (Tue, 05 Mar 2013 21:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 05 Mar 2013 21:27:03 GMT) Full text and rfc822 format available.

Message #10 received at 702257@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Raphaël Hertzog <hertzog@debian.org>, 702257@bugs.debian.org
Subject: Re: Bug#702257: apt-setup: new preseed option to disable CDROM entries at the end of the install
Date: Tue, 5 Mar 2013 22:23:22 +0100
[Message part 1 (text/plain, inline)]
Hi,

Raphaël Hertzog <hertzog@debian.org> (04/03/2013):
> Package: apt-setup
> Version: 0.77
> Severity: wishlist
> Tags: patch
> 
> apt-setup keep the cdrom: entries in sources.list unless the cdrom is a
> netinst. More ofthen than not, those cdrom entries are not desired:
> - ISO images to install virtual machines do not want to rely on the
>   ISO image down the road
> - CD/DVD images are used for one-shot install and are then reused for
>   other purposes.
> - I also often generate custom CD imagse with automated installation for
>   my customers.
> 
> As a compromise with the initial design, I suggest to add a new preseed
> option to make it possible to disable those cdrom entries at the end of
> the installation. This solves the issue for my third scenario above
> and that's the one which matters most because there's no clear user who
> can fix it afterwards.
> 
> Please find a possible patch attached. It has been tested.

thanks; looks like jessie material though.

Mraw,
KiBi.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#702257; Package apt-setup. (Tue, 30 Jul 2013 03:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Baxter <voltagex@voltagex.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 30 Jul 2013 03:30:04 GMT) Full text and rfc822 format available.

Message #15 received at 702257@bugs.debian.org (full text, mbox):

From: Adam Baxter <voltagex@voltagex.org>
To: 702257@bugs.debian.org
Date: Tue, 30 Jul 2013 13:28:21 +1000
[Message part 1 (text/plain, inline)]
This seems to also be an issue when a CD is used to kick off a preseed -
i.e. Automated install from the boot menu.
Depending on the preseed commands used, you'll end up with a cdrom: line in
sources.list and a prompt in tty4 to insert a CD.
You can't answer that prompt, so the install hangs.
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#702257; Package apt-setup. (Tue, 30 Jul 2013 05:24:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Baxter <voltagex@voltagex.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 30 Jul 2013 05:24:04 GMT) Full text and rfc822 format available.

Message #20 received at 702257@bugs.debian.org (full text, mbox):

From: Adam Baxter <voltagex@voltagex.org>
To: 702257@bugs.debian.org
Subject: Updated patch
Date: Tue, 30 Jul 2013 15:21:32 +1000
[Message part 1 (text/plain, inline)]
Hi,
I've temporarily removed the changelog from this patch so it'll apply
cleanly to git head.

I'm not sure how the changelog is supposed to be handled when merge
conflicts occur.


Thanks,
Adam
[Message part 2 (text/html, inline)]
[0001-Add-new-apt-setup-disable-cdrom-entries-internal-deb-fix.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 05:50:29 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.