I have now solved the problems with getting apt-0.7.23.1 installed and ran an apt-get install file command with the file under /dvd (which was a loop mounted jigdo dvd iso image).
The short version was 1) no segfault; but 2) apt-get (or rather dpkg) failed to find files. In fact, just the same as the most recent versions. The long version: ------------------------------------------------- # apt-get install octave3.2 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libarpack2 libgraphicsmagick++3 Suggested packages: graphicsmagick-dbg octave3.2-info octave3.2-doc octave3.2-htmldoc octave3.2-headers octave3.2-emacsen Recommended packages: atlas3-base The following NEW packages will be installed libarpack2 libgraphicsmagick++3 octave3.2 0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded. Need to get 0B/10.1MB of archives. After this operation, 31.4MB of additional disk space will be used. Do you want to continue [Y/n]? y 0% [Working]CDROMMethod::Fetch cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-2 20091019-05:59]/pool/main/a/arpack/libarpack2_2.1+parpack96.dfsg-2+b1_i386.deb Looking for CDROM at /dvd/ 0% [Working]ID 2 a48ec91a27274fa236457889e78edfd7-2 ID 1 a48ec91a27274fa236457889e78edfd7-1 Media Change: Please insert the disc labelled 'Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-2 20091019-05:59' in the drive ‘/dvd/’ and press enter 0% [Working]ID 2 a2d1cdec7388a76b1bf8b836022f0985-2 25% [Working]CDROMMethod::Fetch cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-2 20091019-05:59]/pool/main/g/graphicsmagick/libgraphicsmagick++3_1.3.5-5.1_i386.deb Looking for CDROM at /dvd/ ID 2 a2d1cdec7388a76b1bf8b836022f0985-2 50% [Working]CDROMMethod::Fetch cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-3 20091019-05:59]/pool/main/o/octave3.2/octave3.2_3.2.3-1_i386.deb Looking for CDROM at /dvd/ ID 2 a2d1cdec7388a76b1bf8b836022f0985-2 ID 1 e1d1f62209309b530c35e68b0260f989-1 Media Change: Please insert the disc labelled 'Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-3 20091019-05:59' in the drive ‘/dvd/’ and press enter 50% [Working]ID 2 56355b1c0bb59ea95d7f5e086701c148-2 E: Could not open file /dvd//pool/main/a/arpack/libarpack2_2.1+parpack96.dfsg-2+b1_i386.deb - open (2: No such file or directory) E: Unable to determine the file size - fstat (9: Bad file descriptor) E: Read error - read (9: Bad file descriptor) E: Prior errors apply to /dvd//pool/main/a/arpack/libarpack2_2.1+parpack96.dfsg-2+b1_i386.deb E: Could not open file /dvd//pool/main/g/graphicsmagick/libgraphicsmagick++3_1.3.5-5.1_i386.deb - open (2: No such file or directory) E: Unable to determine the file size - fstat (9: Bad file descriptor) E: Read error - read (9: Bad file descriptor) E: Prior errors apply to /dvd//pool/main/g/graphicsmagick/libgraphicsmagick++3_1.3.5-5.1_i386.deb E: Prior errors apply to /dvd//pool/main/o/octave3.2/octave3.2_3.2.3-1_i386.deb debconf: apt-extracttemplates failed: Bad file descriptor dpkg: error processing /dvd//pool/main/a/arpack/libarpack2_2.1+parpack96.dfsg-2+b1_i386.deb (--unpack): cannot access archive: No such file or directory dpkg: error processing /dvd//pool/main/g/graphicsmagick/libgraphicsmagick++3_1.3.5-5.1_i386.deb (--unpack): cannot access archive: No such file or directory Selecting previously deselected package octave3.2. (Reading database ... 242809 files and directories currently installed.) Unpacking octave3.2 (from .../octave3.2_3.2.3-1_i386.deb) ... Processing triggers for man-db ... Processing triggers for desktop-file-utils ... Processing triggers for menu ... Errors were encountered while processing: /dvd//pool/main/a/arpack/libarpack2_2.1+parpack96.dfsg-2+b1_i386.deb /dvd//pool/main/g/graphicsmagick/libgraphicsmagick++3_1.3.5-5.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ------------------------------------------------------------------- At the point above when the prompt to mount the first dvd, gdb /usr/lib/apt/methods/cdrom PID was started to attach to the cdrom process. It reported no problems: ---------------------------------- gdb) continue Continuing. Program exited normally. ----------------------------------- # dpkg -s apt Package: apt Status: install ok installed Priority: important Section: admin Installed-Size: 10580 Maintainer: APT Development Team <de...@lists.debian.org> Architecture: i386 Version: 0.7.23.1 =============================== So I guess that this means that I need to revert to earlier versions of one of more of these programs if I am to catch the cdrom segfault. But also that there is still a problem with accessing the /dvd files - maybe somehow closed before dpkg runs. As I have noted before, if I manually mount /dvd/ and run dpkg directly then it finds the files, so it isn't dpkg itself failing, at least not in a simple way. Are other people seeing this problem, or is it unusual to get files from /dvd rather directly from the network? I will update my machine back to current testing for the moment before my dependencies get into a nasty twist! ael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org