Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [RFC] Support for using multiple CDs during installation

From: Frans Pop <elendil(at)planet.nl>
Date: Thu Oct 25 2007 - 13:33:48 EDT


On Thursday 25 October 2007, Frans Pop wrote:
> On Thursday 25 October 2007, Frans Pop wrote:
> > The prompt for CD changing works during pkgsel, but apparently not for
> > a normal apt-install. During initial tests, installation of grub failed
> > because CD2 was still mounted and I never got the prompt to change CDs.
> > This is worked around by making sure CD1 is installed again, but if any
> > packages from other CDs are needed for whatever reason _after_ pkgsel,
> > the installation will hang for the same reason.
> > I've not really looked yet at why this does not work.
>
> It looks like this could be fixed by (conditionally) making apt-setup use
> debconf-apt-progress.
>
> > - if a CD change is needed to install a package _after_ pkgsel, this
> > will fail because the CD is mounted in the D-I environment (the CD
> > drive is locked)
>
> With the above implemented, this could be worked around by making
> apt-setup umount the CD in the D-I environment and making it reload the
> installation CD again before exiting (just like pkgsel now does).

The attached patch does both and works :-) Tested by having grub-installer apt-install both grub and anacron (the latter is on CD2).

The patch does introduce an inconsistency that will need to be resolved: with multiple CDs in sources.list package installation will be interactive (including any configuration questions) while in other cases the installation will be non-interactive.

What's the reason we made apt-install non-interactive? Was it just that we did not have the passthrough frontend at the time? If so, I guess we should probably just make apt-install interactive in all cases.

Cheers,
FJP

-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Oct 25 13:34:36 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:10:00 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library