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

Bug#745381: Unable to retrieve packages from USB flash drive in console mode



On Mon 21 Apr 2014 at 02:12:06 -0400, Theodore Alcapotaxis wrote:

> I have tried the following steps on the advice of some of my colleagues:
> 
> 1. remove/delete all the entries in /etc/apt/sources.list and reboot the computer
> 2. dmesg shows that the USB thumb drive is mounted on /dev/sdb1
> 3. sudo mount /dev/sdb1 /media/usb0
> 4. sudo apt-cdrom -m -d /media/usb0 add
> 
> After doing the above, the following error message appears:
> 
> [quote]
> 
> 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

This issue was discussed at

   https://lists.debian.org/debian-user/2014/04/msg01052.html

It would appear that on Wheezy it is necessary for '--no-auto-detect'
to be added to the apt-cdrom command to get sources.list written to.

On Jessie 'sudo apt-cdrom -d /media/usb0 add' works with or without
this option.

Regards.

Brian.


Reply to: