Bug#740673: apt-cdrom ident started requesting to insert cd even if cd is already mounted
Package: apt
Version: 0.9.15.5
Severity: important
Tags: d-i
User: debian-hurd@lists.debian.org
Usertags: hurd
Control: found -1 0.9.15.2
Control: notfound -1 0.9.15.1
On hurd, "apt-cdrom ident" started requesting to insert cdrom even if cdrom is
already mounted.
That breaks debian-installer given it's called by load-install-cd.
Recent debian-installer builds get stuck at "Configuring apt - Scanning the
CD-ROM".
See https://bugs.debian.org/728153
root@hurd01:~# df /dev/hd2
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hd2 660026 660026 0 100% /media/cdrom0
root@hurd01:~# apt-cdrom ident
Using CD-ROM mount point /media/cdrom/
Unmounting CD-ROM
Waiting for disc...
Please insert a Disc in the drive and press enter <<<<<<
Mounting CD-ROM...
Identifying.. [478550b67bb0515eb3936a92b05b79be-2]
Stored label:
Unmounting CD-ROM...
root@hurd01:~# dpkg -i libapt-pkg4.12_0.9.15.1_hurd-i386.deb
dpkg: warning: downgrading libapt-pkg4.12:hurd-i386 from 0.9.15.5 to 0.9.15.1
(Reading database ... 130961 files and directories currently installed.)
Preparing to unpack .../libapt-pkg4.12_0.9.15.1_hurd-i386.deb ...
Unpacking libapt-pkg4.12:hurd-i386 (0.9.15.1) over (0.9.15.5) ...
Setting up libapt-pkg4.12:hurd-i386 (0.9.15.1) ...
Processing triggers for libc-bin (2.18-3) ...
root@hurd01:~# apt-cdrom ident
Using CD-ROM mount point /media/cdrom/
Mounting CD-ROM
Identifying.. [478550b67bb0515eb3936a92b05b79be-2]
Stored label:
Unmounting CD-ROM...
-- System Information:
Debian Release: jessie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.4-486-dbg/Hurd-0.5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2012.4
ii gnupg 1.4.16-1.1
ii libapt-pkg4.12 0.9.15.5
ii libc0.3 2.18-3
ii libgcc1 1:4.8.2-16
ii libstdc++6 4.8.2-16
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.6.10-1
ii dpkg-dev 1.17.6
ii python-apt 0.9.3.1
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
Reply to: