[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_



> 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.

No. I confirm that the line indeed states 'Using CD-ROM mount point /media/cdrom' and not '...../media/usb0' {I reinstalled Debian just to make sure that what I wrote in the original post was correct.)

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

I agree. It's weird. I have not, at any point in time, used a DVD to install Debian.

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

As I stated in my original post, the only medium used to install Debian is a USB 2.0 flash/thumb drive. No DVD was used during the installation.

> 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.

I took up on your suggestions and below is the feedback:

After typing the command 'sudo apt-cdrom -d /media/usb0 ident' the response was:

Using CD-ROM mount point /media/usb0/
Mounting CD-ROM
Identifying....{a long string of alphanumeric characters}
Stored label: Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 DVD Binary-1 20140208-13:47
Unmounting CD-ROM.......

Following the above response, I issued another command 'sudo apt-cdrom --no-auto-detect -d /media/usb0 add' and the reply from the OS was as shown below:

Using CD-ROM mount point /media/usb0/
Unmounting CD-ROM
Waiting for disc......
Please insert a Disc in the drive and press enter

The USB flash/thumb drive had all the while been in the USB port. All I did was to press 'Enter' and below was the response:

Mounting CD-ROM....
Identifying.......{a long string of alphanumeric characters}
Scanning disc for index files......
Found 2 package indexes, 0 source indexes, 2 translation indexes and 0 signatures
This disc is called Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 DVD Binary-1 20140208-13:47
Reading Package Indexes.....Done
Writing new source list
Source list entries for this disc are: deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 DVD Binary-1 20140208-13:47]/ wheezy contrib main
Unmounting CD-ROM....
Repeat this process for the rest of the CDs in your set

Seeing that the OS was able to detect that my USB stick contains the Debian installer, I re-issued the command 'sudo apt-cdrom -d /media/usb0 add' and pressed 'Enter'. The error message is the same, viz.:

Using CD-ROM mount point /media/cdrom/
Identifying.......{a long string of alphanumeric characters}
Scanning disc for index files...............
Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
W: Failed to mount '/dev/sr0' to '/media/cdrom/'
E: Unable to locate any package files, perhaps this is not a Debian disc or the wrong architecture

What shall I do now, please? Is this a bug in the 'apt' package?



Reply to: