On 2010-05-11 16:00, Stefan Fritsch wrote:
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).
That fixes.
  Now it should wait for you to insert the cdrom. BTW, is
there actually a Contents*.gz on the cd?
I don't have the CD anymore, sorry.

BTW, the CD request is quite archaic; you get the message "Put CDROM labeled [foo] in the cdrom device", even if it is already there, and then you need to press enter, although this isn't indicated.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to