On Saturday 24 April 2010, you wrote:
> # LANG=C apt-file update
> Put CDROM labeled
> [Debian_GNU/Linux_testing__Squeeze__-_Official_Snapshot_i386_NETIN
> ST_Binary-1_20100217-22:18] in the cdrom device read: 1: arg count
> mount: no medium found on /dev/sr0
> cp: cannot stat `/cdrom/dists/squeeze/Contents-i386.gz': No such
> file or directory umount: /cdrom: not mounted


> I don't do anything when this happens. There is no disc in the ODD.
> There is a time of perhaps 10 seconds between the read error and
> the third line (mount). From the 4 error lines, the first really
> seems bogus/unwarranted. It seems that continuing without the disc
> could be a bug highlighted by the read error.

This is a bashism in /etc/apt/apt-file.conf and you seem to have dash 
as /bin/sh. Please try again with the following change: In the line 
that starts with "cdrom =" change "read" into "read DUMMY" (without 
the quotes). Now it should wait for you to insert the cdrom. BTW, is 
there actually a Contents*.gz on the cd?

You can skip trying the cdrom with the -N option to apt-file.

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to