[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 Wed 23 Apr 2014 at 01:30:07 -0400, Theodore Alcapotaxis wrote:

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

The correct mount point is identified and the "Stored label" means
sources.list should be edited to have

  deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 DVD Binary-1 20140208-13:47]/ wheezy main

put in it. Note that you have to add "[", "]/", the distibution name and the suites.

> 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

The modified command worked. Your sources.list should now contain the
entry:

  deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 DVD Binary-1 20140208-13:47]/ wheezy contrib main
 
> 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?

There is nothing for you to do; you have achieved your objective and
updated your sources.list. The bug appears to be fixed in Jessie.


Reply to: