Comment 48 for bug 360460

Revision history for this message
TJ (tj) wrote :

A little tip before I forget it that might help others diagnose this problem better.

The messages seen are generated by Apt (specifically, apt-pkg/acquire-worker.cc::pkgAcquire::Worker::MediaChange() and cmdline/acqprogress/cc::AcqTextStatus::MediaChange() ).

Apt can provide more verbose information to syslog (and tty4, accessed with Alt+F4) about CDROM activities with the option:

Debug::Acquire:cdrom "true";

This can be set whilst the installer is running. Here's how.

1. Wait until "Install the base system" has begun.
2. Switch to tty2 by pressing Alt+F2
3. Press enter to start a busybox shell
4. Repeatedly check for the creation of the directory "/target/etc/apt/apt.conf.d/" using:

ls /target/etc/apt/apt.conf.d/

5. Once the directory has appeared create a debug settings file in it using:

echo 'Debug::Acquire::cdrom "true";' > /target/etc/apt/apt.conf.d/01debug

6. After apt has been installed and syslog (tty4) shows it is working "in-target", any CDROM activities by apt will show up like this:

Apr 22 11:44:34 in-target: CDROMMethod::Fetch
Apr 22 11:44:34 in-target: cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Alpha powerpc (20100419)]/dists/lucid/Release.gpg
Apr 22 11:44:34 in-target: