[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Media changed: please insert the disk labeled 'Debian GNU/Linux 7.4.0 _Wheezy_



On Tue 22 Apr 2014 at 15:46:45 -0400, Theodore Alcapotaxis wrote:

> According to /etc/fstab, /dev/sdb1 has a mount point /media/usb0
> 
> However I had to mount it first: sudo mount /dev/sdb1 /media/usb0

There should be no need to mount it first. Even if you do the manual
says the CD-ROM is unmounted before promting for a disc to be inserted.
It shouldn't do any harm, though.

> and then followed by the command: sudo apt-cdrom -d /media/usb0 add
> 
> And the error message is always the same, viz:
> 
> Using CD-ROM mount point /media/cdrom/

It should say 'Using CD-ROM mount point /media/usb0', then tell you it
is unmounting the CD-ROM and ask for a disc to be inserted.

> Identifying.......{a long string of alphanumeric characters}
> Scanning disc for index files...............

That's ok.

> Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
> W: Failed to mount '/dev/sr0' to '/media/cdrom/'

/dev/sr0 is where one of those round, shiny discs would be located. This
is not ok.

> E: Unable to locate any package files, perhaps this is not a Debian disc or the wrong architecture

I won't insult you by asking whether it is a Debian disc for the right
architecture. (It is, isn't it :) )

Do 'sudo apt-cdrom -d /media/usb0 ident'. Is the correct mount point
used? Is there a value for 'Stored label'? This value is what you have
to put in the 'deb cdrom' line in sources.list if the following command
doesn't work.

   sudo apt-cdrom --no-auto-detect -d /media/usb0 add

'--no-auto-detect' is undocumented in Wheezy.


Reply to: