Bug#382424: D-I hangs (waiting for APT input?)
retitle 382424 D-I hangs (APT fails to mount the CD)
On Thu, Aug 10, 2006 at 09:22:26PM +0200, Jens Seidel wrote:
> I tried a debian installer session in qemu and noticed that it hangs
> after some time.
> After installing of the base system I selected the item »back« to enter
> the main menu. Now I selected software installation but the software
> selection dialog shows only a "Please wait ..." mesage with a progress of
> "1%". The syslog and the ps ax output indicate that apt is running and
> probably waits for input:
I can now reproduce it and found also the problem:
APT is not able to mount a Debian CD, since APT searchs by default in
/cdrom (see #282344) but /target/etc/fstab refers to /media/cdrom0.
Setting Acquire::cdrom::mount "/media/cdrom0" in /target/etc/apt/apt.conf
To reproduce it use the Beta 3 netinst ISO ("install" target) and
install a system without network mirror. Once the installation finished
the CD is unmounted. Now select again "Select and install software" and
try to install another task. The system hangs now because APT cannot
mount the CD. The same happens if the user unmout the CD manually ...